Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

onStart fires multiple times when sliding, resulting touch stuck #37

Open
elinake opened this issue Feb 14, 2017 · 1 comment
Open

onStart fires multiple times when sliding, resulting touch stuck #37

elinake opened this issue Feb 14, 2017 · 1 comment

Comments

@elinake
Copy link

elinake commented Feb 14, 2017

What might cause onStart being fired multiple times?

It works fine on web browsers, so it's not about accidentally binding it multiple times. On android happens following:

  • sliding once works fine
  • sliding back and forth without stops:
    • start and slide are fired multiple times
    • change and end are fired after all the starts and slides

Result: Clicking anywhere on the screen results onChange and onEnd being fired, making everything except slider inaccessible.

@vvo
Copy link
Contributor

vvo commented Feb 14, 2017

@elinake Better first check the behaviour of the underlying project: https://github.com/leongersen/noUiSlider

Then if the behaviour is the same, it's a bug in it.

Still, I would really recommend you to check other react sliders on google. That one is deprecated/not maintained.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants