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

Not switching DarkMode when rendered #744

Open
Wolk9 opened this issue Feb 27, 2024 · 0 comments
Open

Not switching DarkMode when rendered #744

Wolk9 opened this issue Feb 27, 2024 · 0 comments

Comments

@Wolk9
Copy link

Wolk9 commented Feb 27, 2024

I use the dropdownpicker in a react native app in combination with native-paper and MD3 Material3 themes.

When switching from dark to light and vice versa everything is switching appropriately execept the dropdownpicker. I have implemented the .setStheme helperfunction, but I wont change directly, not even in a useEffect. Until the first click in the dropdown, the mode switches to the appropriate mode.

simulator_screenshot_E80A628F-AC0D-47FE-A54D-352A7846F91B
simulator_screenshot_9AA667E3-A0EB-42FB-B8E7-7EB79B9BF2F8
simulator_screenshot_38D32661-972B-4384-90D9-91A793580B0E

How do I invoke a complete render of the dropdown?

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