Code Monkey home page Code Monkey logo

Comments (3)

marekrozmus avatar marekrozmus commented on August 27, 2024

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:

  1. Partially swipe right.
  2. onSwipeStart triggers
  3. End swipe (release the mouse or touch)
  4. Partially swipe left.
  5. onSwipeStart triggers.

from react-swipeable-list.

ArondeParon avatar ArondeParon commented on August 27, 2024

@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.

marekrozmus avatar marekrozmus commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.