FormidableLabs / FormidableLabs/react-swipeable
Possible to stop propagation in custom swiped ?
Open
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 149
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I have a swipe listener (on swipe right) at document level and another one (on left and right) in a div.
I would like to use event.stopPropagation (as it is possible in onSwiped) but in onSwipedRight / onSwipedLeft.
Is it possible ?
Thanks
Contributor guide
Research direction
Start by reviewing the existing onSwiped, onSwipedRight, and onSwipedLeft callback entry points and how propagation is currently handled. Determine whether the directional callbacks can support the same stop-propagation behavior as onSwiped; the work is done when the requested behavior is defined and covered for both left and right swipes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100