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

Unexpected slider behaviour if alt tabbing while holding the slider. #475

Open
bamtheboozle opened this issue Dec 8, 2016 · 13 comments
Open

Comments

@bamtheboozle
Copy link

Steps to reproduce

  1. Click on the slider pointer and hold the mouse btn clicked.
  2. Alt-tab to another window
  3. Alt-tab back to the page with the slider
  4. Move it around -> slider wrapper bar is messed up.

This is mostly noticeable when using multiple monitors and alt tabbing to the other monitor while still dragging the slider.
The slider value itself is not affected, just the UI of the ".rz-bar-wrapper" span.

@ValentinH
Copy link
Member

What OS/Browser are you using? I've trie to reproduce your steps but didn't notice anything broken... Could you record a gif showing the issue?

@bamtheboozle
Copy link
Author

bamtheboozle commented Dec 8, 2016

Windows 10/Chrome 54.0.2840.99
Sure.

rzslider 1

@ValentinH
Copy link
Member

Actually I posted a similar issue yesterday that seems to be related: #476. I'll try to look into it over the weekend.

@ValentinH
Copy link
Member

It might be due to the fix for #411

@ValentinH ValentinH added the bug label Dec 11, 2016
@codeweavers
Copy link

Hi @ValentinH, did you manage to look into this issue at all? We've implemented the plugin in an iframe, and can reproduce the issue by clicking anywhere outside of the iframe page (devtools, parent page, etc) whilst mid-drag. This plugin is exactly what we're after, but can't use it whilst this bug exists unfortunately.

Thanks.

@ValentinH
Copy link
Member

Unfortunately no, and it's quite an edge case which is hard to understand/replicate. I'm not really maintaining this library anymore so if you need it quickly, you should try to create a pull request for this issue. ;)

@nitinwaves
Copy link

Well, we are also facing the exact same problem with this slider.. if we try to drag is quickly and multiple times then it starts behaving like this.. any solution or patch would be helpful..

@ValentinH
Copy link
Member

I'm still struggling to get an simple reproducible example so I can understand what's going on. If you could provide such a demo, it would be great and helpful.

@nitinwaves
Copy link

nitinwaves commented Apr 20, 2017 via email

@ValentinH
Copy link
Member

The issue with JSFiddle is the iFrame. If you release the slider in the code view, and come back above it, then the selection bar keeps moving. Now I get it, but don't understand why the slider handle is correctly detached but not the selection bar...

@ValentinH
Copy link
Member

I investigated it yesterday and somehow fixed it for single slider but not for range. The real issue is that when you release the slider outdide the iframe, the blur event is send but not the mouseup which is not normal behavior...

@imran7404
Copy link

Have you fixed the mouseup event for single slider?

@ValentinH
Copy link
Member

I don't remember. But all my work is on Master at the moment.

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

No branches or pull requests

4 participants