#4467 closed bug (fixed)
Slider: handle jumps a few pixels when clicked
Reported by: | sz_zoly7 | Owned by: | rdworth |
---|---|---|---|
Priority: | major | Milestone: | 1.8.7 |
Component: | ui.slider | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
When clicking near the edge of the handle, the handle may jump before the user actually moves the mouse.
Change History (10)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | 1.7.2 → 1.8 |
---|
comment:4 Changed 13 years ago by
Owner: | set to rdworth |
---|---|
Status: | new → assigned |
comment:5 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Priority: | critical → major |
Summary: | slider handle jumps few pixels right or left if it's clicked on it → Slider: handle jumps a few pixels when clicked |
comment:6 Changed 12 years ago by
I spoke too fast, my patch fixed the issue on the site I'm working on. On the demos, I still see the behaviour you describe.
Idea: what about using the relative position of the click inside the handle instead of ( closestHandle.width() / 2 )
?
comment:7 Changed 12 years ago by
Also, I've found that it might have to do with the left margin of the handle. The default theme uses '-.6 em'. If you change that value, the point inside the handle where -when clicking- the bug happens, moves farther or closer to the right edge.
Hope this helps.
comment:8 Changed 12 years ago by
I've proposed a fix for this bug (commit). I pulled the slider demo and was able to make my one-line fix work in a local version of it as well as in my own project. The behavior is more universal than mentioned above. See my commit for more detail.
comment:9 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Slider: Modified handle and scroll content not to jump twice when handle is grabbed and dragged from anywhere other than absolute center. Fixed #4467 - Slider: handle jumps a few pixels when clicked.
Changeset: 0c3e56dd7d82e889ffabc606fd66d47f3e2d27c8
comment:10 Changed 12 years ago by
Milestone: | 1.9 → 1.8.7 |
---|
It seems that this bug only appears on IE and Firefox browsers.