Skip to content

.onEnd attribute multiple calling #536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
oleszczyk opened this issue May 25, 2017 · 3 comments
Closed

.onEnd attribute multiple calling #536

oleszczyk opened this issue May 25, 2017 · 3 comments
Labels

Comments

@oleszczyk
Copy link

Steps to reproduce

  1. assign any notification action to '.onEnd' attribute
  2. move and stop slider many times
  3. notice that now single move-stop event fire many notifications (as many notifications as many moves have been proceeded)

Expected behaviour

Single move-stop event should call only one '.onEnd' directive

Actual behaviour

Single move-stop event calls '.onEnd' as many times as many moves have been proceeded from page has been loaded.

@ValentinH
Copy link
Member

cc @daniela-mateescu

@ValentinH
Copy link
Member

@oleszczyk 6.2.1 should fix your issue! ;) Tell me if it's OK please 😄

@ValentinH
Copy link
Member

Note for myself: the fix is probably fine but a unit test covering this issue should be added...

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

No branches or pull requests

2 participants