moveable
moveable copied to clipboard
Using functional components How to trigger updateTarget (React,hooks)
Environments
- Framework name:
- Framework version:
- Moveable Component version:
- Testable Address(optional):
Description
@liuxuehuax
You will need to get an instance using useRef.
const moveableRect = React.useRef();
moveableRect.current.updateRect();
The problem was solved the day before yesterday and I forgot to close the question. But thank you very much. @daybrush