Open ivadenis opened 1 year ago
I'm trying to programmatically disable ables (draggable, resizable, etc) on the moveable instance. How to achieve that?
I tried:
moveable.draggable = false; moveable.setState({ draggable: false });
I'm also using individualGroupable and individualGroupableProps.
individualGroupable
individualGroupableProps
sorry. Since Moveable pass the props directly, there is no state.
use it like this:
const [draggable, setDraggable] = useState(); <Moveable draggable={draggable} />
Environments
Description
I'm trying to programmatically disable ables (draggable, resizable, etc) on the moveable instance. How to achieve that?
I tried:
I'm also using
individualGroupable
andindividualGroupableProps
.