You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like a small issue but I still would love to bring some attention to it.
The onSearchButtonPress callback is only called when some text is actually typed in the searchbar.
For consistency's sake, I would love it if, even if the input is empty, the callback would still be called.
In my case, the callback is a keyboard dismissal. To give an example, in Instagram, if you press the search button without any input, it also just dismisses the keyboard. So I'm hoping to get the same kind of consistency.
Thanks for the great component!
The text was updated successfully, but these errors were encountered:
Hi guys
This seems like a small issue but I still would love to bring some attention to it.
The
onSearchButtonPress
callback is only called when some text is actually typed in the searchbar.For consistency's sake, I would love it if, even if the input is empty, the callback would still be called.
In my case, the callback is a keyboard dismissal. To give an example, in Instagram, if you press the search button without any input, it also just dismisses the keyboard. So I'm hoping to get the same kind of consistency.
Thanks for the great component!
The text was updated successfully, but these errors were encountered: