Closed Jmeza081 closed 5 years ago
Hey @Jmeza081! Yeah I’m wondering if simply spreading props would work well. I believe so. Totally open to PRs too. 😉
Gotcha! Just out of curiosity, what is the reasoning behind not adding {...this.props}
to the ScrollView
to allow the rest of the supplied props to pass through your component? Will it mess with props your Swiper is handling internally? If it will, a simple PR for keyboardShouldPersistTaps
will have to suffice when I get around to it.
@Jmeza081 I briefly tried this but it broke something else. This is definitely on my list to work on soon.
Closing in favor of #33.
Thanks again for the awesome library! I was looking into a (bug, but not really) yesterday in which embedding a set of
TextInput
s in aParallaxSwiperPage
would cause some semi-unexpected behavior on Android:TextInput
is focused and the keyboard is open, switching to anotherTextInput
on the same page closes the keyboard and you are forced to tap it again to focus the input.Adding the prop
keyboardShouldPersistTaps={'always'}
to yourParallaxSwiper.js
'sScrollView
fixes the issue. I was wondering if there were still plans to expose the rest of theScrollView
props and making this prop optional, or if you were planning on taking the repo in a different direction?