angularjs-slider icon indicating copy to clipboard operation
angularjs-slider copied to clipboard

Unexpected slider behaviour if alt tabbing while holding the slider.

Open bamtheboozle opened this issue 8 years ago • 13 comments

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.

bamtheboozle avatar Dec 08 '16 09:12 bamtheboozle

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?

ValentinH avatar Dec 08 '16 09:12 ValentinH

Windows 10/Chrome 54.0.2840.99 Sure.

rzslider 1

bamtheboozle avatar Dec 08 '16 12:12 bamtheboozle

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

ValentinH avatar Dec 09 '16 06:12 ValentinH

It might be due to the fix for #411

ValentinH avatar Dec 09 '16 06:12 ValentinH

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.

codeweavers avatar Feb 14 '17 10:02 codeweavers

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. ;)

ValentinH avatar Feb 14 '17 10:02 ValentinH

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

nitinwaves avatar Apr 20 '17 10:04 nitinwaves

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.

ValentinH avatar Apr 20 '17 11:04 ValentinH

Yeah, please see this video for your reference: https://drive.google.com/file/d/0Bz7g2NRNMrY-enFqakJQUUdpRVE/view

On Thu, Apr 20, 2017 at 5:11 PM, Valentin Hervieu [email protected] wrote:

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.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/angular-slider/angularjs-slider/issues/475#issuecomment-295699779, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnebh1kI59jJX6YX3miVJg22PUu1ZYzks5rx0R1gaJpZM4LHlfL .

-- Regards Nitin Jain +91-8552819190 +91-9810759190

nitinwaves avatar Apr 20 '17 13:04 nitinwaves

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 avatar Apr 20 '17 13:04 ValentinH

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

ValentinH avatar Apr 24 '17 08:04 ValentinH

Have you fixed the mouseup event for single slider?

imran7404 avatar Aug 28 '17 13:08 imran7404

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

ValentinH avatar Aug 28 '17 20:08 ValentinH