netguru / sticky-parallax-header

A simple React Native library, enabling the creation of fully customized header for your iOS and Android apps.
https://netguru.github.io/sticky-parallax-header/
MIT License
1.86k stars 190 forks source link

Set keyboardShouldPersistTabs to 'handled' #129

Closed Kleinhummel closed 2 years ago

Kleinhummel commented 4 years ago

I have a TextInput in my tab content, but I can't press a button in the tab content when the keyboard is open. I found out that usually setting the keyboardShouldPersistTabs property of the ScrollView surrounding the button and the TextInput to 'handled' fixes the problem. Is it possible that the same problem is present here? I tried to set the keyboardShouldPersistTabs prop to 'handled'on the AnimatedScrollView component in the render function of the StickyParallaxHeader.js file, but this isn't changing anything...

pi0trpietruszewski commented 4 years ago

Added keyboardShouldPersistTabs prop, avaiable in next release.

@Kleinhummel Could you explain in details what is wrong? Or can you upload video with issue?

pi0trpietruszewski commented 3 years ago

keyboardShouldPersistTabs prop is available

mateusz1913 commented 2 years ago

keyboardShouldPersistTabs is available both in legacy 0.4.x and 1.0.x versions