KeyboardToolbar's button click will suddenly open the BottomSheet and immediately focus on the BottomSheetTextInput inside the BottomSheet #470
Labels
enhancement
New feature or request
KeyboardToolbar
Anything related to KeyboardToolbar component
repro provided
Issue contains reproduction repository/code
Hi 🙌. Thank you so much for your hard work on this amazing lib.
Truly useful for the community. ❤️
Describe the bug
So i have a screen in my RN app. The screen has a several
TextInput
inside aKeyboardAwareScrollView
(KAS is from this lib). And i have aBottomSheet
(from Gorhom) that has aBottomSheetTextInput
inside it. Lastly, i have aKeyboardToolbar
.The problem begin when i focused to the last
TextInput
inside KAS and then i click the next button ofKeyboardToolbar
and then suddenly myBottomSheet
(that i haven't opened yet before) is appear with theBottomSheetTextInput
is focused.Code snippet
Repo for reproducing
https://github.com/7dp/KeyboardToolbarBottomSheetRepro
To Reproduce
Steps to reproduce the behavior:
TextInput
inside KAS.KeyboardToolbar
.BottomSheet
will suddenly appear with a focusedBottomSheetTextInput
.Expected behavior
KeyboardToolbar
next/prev click should not focus to theBottomSheetTextInput
inside theBottomSheet
, so theBottomSheet
will not appear at all.Screenshots
Record:
https://github.com/kirillzyusko/react-native-keyboard-controller/assets/49138064/fda545a1-3ba3-4594-9400-d033b0e1c4d4
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: