SearchBar component doesn't respect boolean of true or false for lightmode attribute #3466
Open
1 task done
Labels
component: SearchBar
Issue related to SearchBar Component
Is there an existing issue for this?
Explain what you did
When implementing dark mode into my application the search bar when set to lightmode={false} doesn't respect it to be in dark mode.
I've tried this in a hook, using a theme and with a boolean hard coded as a string and without a string.
<SearchBar lightTheme={false}
placeholder={"Search Matches"}
platform='ios'
showLoading={isRefreshing}
onChangeText={searchTerm => handleSearch(searchTerm)} value={searchTerm} />
Expected behavior
The SearchBar component still stays in lightmode I would expect this to be able to be toggled between the two so I can bind this to a hook to complete dark/lightmode support in my app.
Describe the bug
When the lightmode attribute is set to false it doesn't go into dark mode theme.
Steps To Reproduce
Screenshots
Your Environment
The text was updated successfully, but these errors were encountered: