leecade / leecade/react-native-swiper
TabBariOS and Swiper
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hello everyone, I'm trying to have the swiper component and the TabBariOS navigation working together. Basicaly, my TabBariOS has empty views in it and I change the selected index by setting it on the onMomentumEnd handler.
However, I try to add a function to onPress of the TabBariOS in order to run the scrollBy swiper function but the application just hangs for a moment and nothing happens.
Can anyone help me? I know I'm misusing the entire TabBariOS component since he should be the one to handle navigation but I really want to have both behaviours. It seems natural to me.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the interaction between TabBarIOS, the swiper component, the onPress handler, and the onMomentumEnd handler described in the issue. Determine why calling swiper.scrollBy causes the application to hang; done means both TabBarIOS selection and swiper navigation work together without the hang.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100