Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/hardcore-silence-ywxfbo?file=/src/App.js
Steps:
- Stop propagation of "mousemove" on the parent of the slider i.e.
onMouseMove={(e) => e.stopPropagation()}
- Try to drag the thumb of the slider
Current behavior 😯
Slider thumb cannot be dragged.
Expected behavior 🤔
Slider should work no matter if one stop propagation in some parent of the Slider
Context 🔦
The Slider component has a parent way up on the three that needs to prevent propaggation of events. I cannot use the slider :(
Your environment 🌎
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/hardcore-silence-ywxfbo?file=/src/App.js
Steps:
onMouseMove={(e) => e.stopPropagation()}Current behavior 😯
Slider thumb cannot be dragged.
Expected behavior 🤔
Slider should work no matter if one stop propagation in some parent of the Slider
Context 🔦
The Slider component has a parent way up on the three that needs to prevent propaggation of events. I cannot use the slider :(
Your environment 🌎
npx @mui/envinfo