maxs15 / maxs15/react-native-modalbox
Modal closes when swiping up or down without interaction animation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 496
- PR merge metrics
- No merged PRs in 30d
Description
#240
When closing the modal by dragging down I don't see the interactive animation and the modal just disappears when I let go.
Also, the same thing happens when I swipe up.
I want to add a Flat List with menu items in the modal, so the modal should only close if I the user can't scroll up in the list anymore.
How do I do this?
I am using v1.6.0
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 reading issue #240 and reproducing the swipe-up and swipe-down behavior in react-native-modalbox v1.6.0 with a FlatList containing menu items. Trace the modal's gesture and close behavior, then verify that the modal remains open while the list can scroll and closes only when the list cannot scroll further, with the interactive animation visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100