Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Android dark mode doesn't work properly #150

Open
wcastand opened this issue Mar 11, 2025 · 0 comments
Open

[BUG] Android dark mode doesn't work properly #150

wcastand opened this issue Mar 11, 2025 · 0 comments

Comments

@wcastand
Copy link

wcastand commented Mar 11, 2025

i copy pasted the code from the documentation and on android the dark mode get a black text over black background. It works fine on IOS.

Image
Image

the code (the component are a copy paste of the one in the documentation)

<DropdownMenuRoot>
  <DropdownMenuTrigger>
    <ArrowDownWideNarrow size={18} color="$neutral900" />
  </DropdownMenuTrigger>
  <DropdownMenuContent>
    <DropdownMenuCheckboxItem
      value={sorting === "alphabatical"}
      onValueChange={(next) => {
        if (next === "on") setSorting("alphabatical")
        else setSorting("objectif")
      }}
      key="alphabatical"
    >
      <DropdownMenuItemIndicator />
      <DropdownMenuItemTitle>Alphabétique</DropdownMenuItemTitle>
      <DropdownMenuItemIcon ios={{ name: "textformat.characters", pointSize: 18 }} />
    </DropdownMenuCheckboxItem>
    <DropdownMenuCheckboxItem
      value={sorting === "objectif"}
      onValueChange={(next) => {
        if (next === "on") setSorting("objectif")
        else setSorting("alphabatical")
      }}
      key="objectif"
    >
      <DropdownMenuItemIndicator />
      <DropdownMenuItemTitle>Objectifs</DropdownMenuItemTitle>
      <DropdownMenuItemIcon ios={{ name: "line.3.horizontal.decrease.circle", pointSize: 18 }} />
    </DropdownMenuCheckboxItem>
  </DropdownMenuContent>
</DropdownMenuRoot>

zeego: "^3.0.3"
[email protected]
[email protected]
@react-native-menu/[email protected]

expo sdk 52
old architecture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant