Skip to content
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

Sliders stick to mouse when using the directive anywhere on the page #28

Closed
mawie81 opened this issue Dec 3, 2015 · 1 comment
Closed

Comments

@mawie81
Copy link

mawie81 commented Dec 3, 2015

We just ran into the following issue:
If you have a slider - <input type='range'> - anywhere on your page you can click it once and then the thumb will stick with your mouse.

Plunker: http://plnkr.co/edit/sWJmTWImtunqLj819XFQ?p=preview
Try to move the slider at the top of the page.
If you remove the div with ng-scrollable the slider is working again.
It doesn´t matter if the slider is inside an element with ng-scrollable or not.

@echa
Copy link
Owner

echa commented Dec 8, 2015

After banging my head against this and #30 I realised it's the way event handlers are attached to the document node. Fix is on the way. I don't include your patch since my other solution is more general, but thanks anyways.

@echa echa closed this as completed Dec 8, 2015
echa pushed a commit that referenced this issue Dec 8, 2015
- improve wheel scroll performance
- add scroll spy events as alternative to stateful scroll spies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants