(docs): `SliderMark` not mentioned in the doc, and `SliderThumb` with tooltip
See original GitHub issueHello,
The SliderMark
tag is not mentioned in the online documentation. Here is an example.
That said, I find it’s easier to set a tooltip to the SliderThumb
.
const [sliderValue, setSliderValue] = React.useState(5);
<Slider id="slider" defaultValue={5} min={0} max={10} colorScheme="blue" onChange=(v) => {setSliderValue(v)}>
<SliderTrack>
<SliderFilledTrack />
</SliderTrack>
<Tooltip hasArrow bg="red.600" placement="top" closeOnClick={false} isOpen label={sliderValue}>
<SliderThumb />
</Tooltip>
</Slider>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
`SliderMark` not mentioned in the doc, and `SliderThumb` with ...
Hello, The SliderMark tag is not mentioned in the online documentation. Here is an example. That said, I find it's easier to set...
Read more >React Slider component - Material UI - MUI
Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings...
Read more >Slider - Ant Design
Using marks property to mark a graduated slider, use value or defaultValue to specify the position of thumb. When included is false, means...
Read more >Slider and its tooltip text in ExtJs are not visible properly with ...
getBody(), hideLabel: true, width: 214, increment: 10, height:60, minValue: 0, maxValue: 100, tipText: function(thumb){ return Ext.String.format ...
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 Free
Top 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
I’ll take this issue
By the way there is also
RangeSliderMark
now. But well, it’s not necessary to provide an example once an example ofSliderMark
is given.Cheers.