Make slider thumb label always visible
See original GitHub issueBug, feature request, or proposal:
Feature request
What is the expected behaviour?
I would like the thumb label to remain visible, not just when the slider is being changed.
What is the current behaviour?
The slider thumb label will only show when the slider is being moved.
https://material.angular.io/components/component/slider
What is the use-case or motivation for changing an existing behaviour?
I don’t think existing behaviour should be changed, but maybe an input can be given to <md-slider>
which tells it whether to always display the thumb label.
From a design point of view, it is nice to be able to let the user know what the current value is for the slider.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
TypeScript 2.3.3 Angular 4.1.3 Angular Material 2.0.0-beta.5
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How can I display thumb label all the time for material slider?
I want to let thumb label to display all ...
Read more >Slider - Angular Material
By default, the value in the slider's thumb label will be the same as the model value, however this may end up being...
Read more >Angular Material Slider - Javatpoint
Thumb label. The selected value of the slider is not visible to the user. But adding the value to the Thumb Lab attribute...
Read more >Slider component — Vuetify.js
Show thumb label. If true it shows label when using slider. If set to 'always' it always shows label.
Read more >Angular Material Slider - ConcretePage.com
The thumbLabel is boolean value. If the value is true, thumb label is shown. If this attribute is absent, the default value is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@michaelpwilson you can override it with css for now if you wish
@CDMU You should try to wrap the @michaelpwilson method with :
::ng-deep { }