I have Slider which acceptsValueLabel component which is Tooltip. Tooltip is set to interactive={true} as I pass TextField to the title property. So when I hoover over the knob I want to have editable Tooltip.
The issue is that when I dragging by Tooltip, the slider also is dragging.
Duplicates
Latest version
Current behavior 😯
I have Slider which accepts
ValueLabel
component which isTooltip
.Tooltip
is set tointeractive={true}
as I passTextField
to thetitle
property. So when I hoover over the knob I want to have editableTooltip
.The issue is that when I dragging by Tooltip, the slider also is dragging.
See video:
https://user-images.githubusercontent.com/45672257/176929951-47fda612-796e-4a87-b294-969e7f83d39f.mov
CodeSandBox - https://codesandbox.io/s/rangeslider-demo-material-ui-forked-fuif4l?file=/demo.tsx
Expected behavior 🤔
To no allow drag slider by dragging Tooltip.
Steps to reproduce 🕹
Steps:
ValueLabelComponent
toValueLabel
which isTooltip
see an example in CodeSandBox - https://codesandbox.io/s/rangeslider-demo-material-ui-forked-fuif4l?file=/demo.tsxTooltip
interactive
property totrue
Tooltip
Context 🔦
No response
Your environment 🌎
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo