moveable
moveable copied to clipboard
Slider or draggable element in a Moveable Component
Environments
- Framework name: React
- Moveable Component version: latest
Description
If I have a slider, colour wheel or any other elements that react to drag events in a component that is being targeted by Moveable, is there any way to pass the event to those elements and prevent the component from moving? Or is there any workaround to at least pass those events so that I know those elements are being attempted to drag so that I can set <Moveable draggable={false}>
to prevent the Moveable component from moving?
@William-Depix
If all ables are disabled, drag events are not blocked on child-elements.