can't tap on button without closing the keyboard

I am using react native 0.4

I have a modal with a TextInput, if i want to tap on one of the buttons that are on the modal I need to tap it twice - first tap closes the keyboard and only then I can tap on the button.
I would like to be able to tap on buttons that are on the modal without closing the keyborad.

enter image description here



i had the same problem on my flatlist, but i found keyboardShouldPersistTaps = true fixed it, maybe modal uses a list behind the scenes and you can just add keyboardShouldPersistTaps?


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.