New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find name 'OnDrag'. TS2304 #290
Comments
Hi ?? Please write a description. |
i'm working on react i have created a ref as exampleRef= React.createRef () for this im getting typescript error that missmatch of exampleRefTypes and target im searched about this all over the internet but i didn't get the answer so help me to |
Can you show me a screenshot with that error? |
@RajaTheKing826 use current.
|
@daybrush |
if i write target={document.body} im getting movable for entire doc but when im giving a specific ref like above screenshot im not getting movable there |
Before mounted, current was null. So please update it once. |
moveable's new version is released. Support string(selector), RefObject type. |
Environments
Description
The text was updated successfully, but these errors were encountered: