leecade / leecade/react-native-swiper
How to disable swipe on a child view / modal?
Open
Nobody has claimed this yet.
question
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
- react-native-swiper ^1.5.14
- react-native expo sdkv35
Is there a way to disable swipe on a child views modal ?
<react-navigation>
<swiper ref="swiper">
<SwipeScreen1>
<Modal /> // when I load modal, I can swipe between screen 1 & 2.
</SwipeScreen1>
<SwipeScreen2 />
</swiper>
</react-navigation>
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
The issue names react-native-swiper 1.5.14 and shows a Swiper containing SwipeScreen1, a Modal, and SwipeScreen2, but it mentions no source file or test. Start by locating the Swiper swipe-control entry point and determine whether opening the child modal should prevent navigation; done means swiping is disabled while the modal is open and restored afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100