maxs15 / maxs15/react-native-modalbox

Override swipe left-right?

Open
#171 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.9k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

I want to embed a swiper/ photo slider inside modalbox.
However if i swipe left-right, modal still detect them as swipeToClose behavior.
Any chance to override it or set bounrady for swipe left-right event like after swipe in vertical for how many pixel, it will trigger swipeToClose ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the modalbox gesture handling for swipeToClose and checking how horizontal swipes from an embedded photo slider are interpreted. Done means the issue provides a supported way to prevent horizontal swipes from closing the modal while preserving the intended vertical close behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.