Open
Description
Description
The events onEndEditing
, onSubmitEditing
and onDismiss
are not working on the SearchInput Component.
Even with returnKeyType
none of these events get fired. The Keyboard gets dismissed but nothing more happens.
Related to
- Components
- Demo
- Docs
- Typings
Steps to reproduce
- Go to https://snack.expo.dev/@juliaoden/searchinput_reactnativeuilib
- Enter some text in the SearchInput Component on the device
- Hit enter and see how only the keyboard gets dismissed and no log ist printed
- Try usingone of the follwoing keyBoardTypes ('done' | 'go' | 'next' | 'search' | 'send') to see that nothing changes
- Notice that deleting the text with x-Icon also doesn´t show any logs
Expected behavior
I expect either onSubmitEditing or onEndEditing to be fired, when the user finished typing, so that a search can be triggered.
Actual behavior
Nothing happens
Environment
- React Native version: ^0.79.3
- React Native UI Lib version: ^7.43.0
Affected platforms
- Android
- iOS
- Web (not tested)