react-native-dropdown-picker icon indicating copy to clipboard operation
react-native-dropdown-picker copied to clipboard

Not switching DarkMode when rendered

Open Wolk9 opened this issue 1 year ago • 0 comments

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?

Wolk9 avatar Feb 27 '24 15:02 Wolk9