react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

SearchInput not working (onSubmitEditing, onEndEditing, onDismiss)

Open juliaoden opened this issue 5 months ago • 0 comments

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

  • [x] Components
  • [ ] Demo
  • [ ] Docs
  • [ ] Typings

Steps to reproduce

  1. Go to https://snack.expo.dev/@juliaoden/searchinput_reactnativeuilib
  2. Enter some text in the SearchInput Component on the device
  3. Hit enter and see how only the keyboard gets dismissed and no log ist printed
  4. Try usingone of the follwoing keyBoardTypes ('done' | 'go' | 'next' | 'search' | 'send') to see that nothing changes
  5. 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

  • [x] Android
  • [x] iOS
  • [ ] Web (not tested)

juliaoden avatar Jun 12 '25 11:06 juliaoden