-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Slider: Highlights surrounding text with mouse #2143
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Comments
I have seen the same issue, is there a work-around for this? |
This is what I found that seems to work for me.
|
Thank you, that worked great! |
awesome, I'll try it, thanks |
This can be fixed with minor change on slider.ts file: |
Adding for 4.1.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
DEMO:
http://plnkr.co/edit/jgS6Bj
Current behavior
When Interacting with a slider, the user holds down the mouse button and drag the mouse accross the screen to change the value of the slider. However, a negative side-effect of current implementation is that, often, user will also "highlight" text around the slider as he is interacting with the slider. Try the demo to convince yourself this is a UX issue.
Expected behavior
"Mouse highlight" is disabled when interacting with a slider via the slider-handle.
Minimal reproduction of the problem with instructions
Using the following plnkr http://plnkr.co/edit/jgS6Bj change the value of the slider and observe text above slider gets highlighted (if you drag your mouse over it while changing value of the slider).
What is the motivation / use case for changing the behavior?
User experience is an issue; Often, slider are used as a mean for the user to configure some kind of service. Moreover, these configuration might be critical to the user and user must be cautious not to "miss-configure" his setups. However, if using the slider highlight part of the page, user feels light he does not have full control over his action and might not trust this component (the slider does not seem like a stable component, and users might hesitate using it, in fear that it might be broken...0
Please tell us about your environment:
Linux
3.10.10
2.0.0
chrome
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: