Comments (3)
Hi @ArondeParon - what do you mean in point 3? Do you release the click/touch or not?
I have tried here: https://marekrozmus.github.io/react-swipeable-list/ and when I go like this:
- Partially swipe right.
- onSwipeStart triggers
- End swipe (release the mouse or touch)
- Partially swipe left.
- onSwipeStart triggers.
from react-swipeable-list.
@marekrozmus the issue seems to occur only when swiping from a "locked" state (not sure what you call it?) to another "locked" state. It's a bit hard to describe, so I recorded a video showing the behavior.
CleanShot.2023-06-08.at.22.55.11.mp4
from react-swipeable-list.
Hi @ArondeParon - what kind of case you need that specific behaviour?
I mean now it works that swipe start
is triggered when user moves item beyond the threshold and the swipe end
when user release mouse button.
If you enter the "locked" state you are still "inside the swipe" state.
I think that what we are missing here is the scenario when user is swiping from "locked" state in opposite direction.
Then it should go through initial state and then new swipe start
with opposite direction should be triggered?
from react-swipeable-list.
Related Issues (20)
- _this.trailingFullSwipeAction is not a function HOT 2
- Compatibility issue with newer Chromium HOT 6
- Is it possible to track the swipe direction? HOT 4
- Delay on LeadingAction HOT 5
- Does not work with react-awesome-dnd HOT 7
- React does not recognize the x... HOT 1
- Don't work in localhost with IOS twoaction button but work in codesandbox HOT 9
- SwipeableListItem onClick action triggered, when element swiped HOT 4
- Provide a way to click / touch an opened item, toggle all other items to close, including itself HOT 7
- Max percentage swipable HOT 4
- trailingFullSwipeAction error every time I attempt to trigger a trailing swipe HOT 1
- [Feature Request] allow to pass react fragments or insert react nodes between list items HOT 5
- maxSwipe is not optional HOT 4
- incomplete closure of swipes HOT 1
- Several actions open if opened after deletion HOT 3
- Wrong counting for React.Children in TrailingActions HOT 2
- Warning: React does not recognize the X prop on a DOM element HOT 1
- Swiping is not working as expected HOT 1
- Alternatively, would it be possible for you to provide a reset API that would allow us to manually close the `<SwipeableListItem>` components? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-swipeable-list.