We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description editableRef prop doesn't work according to spec. It produces an error and doesn't attach the ref to the Editable's DOM element.
editableRef
Steps
useRef
React.createRef
or go to the sandbox and you should see the error immediately in the console
Sandbox
https://codesandbox.io/s/sandpack-project-forked-oqs6r8?file=/App.tsx
Expectation
The newly created ref should be attached to the editableRef
Environment
The text was updated successfully, but these errors were encountered:
Indeed, it has not effect until slate fixes it ianstormtaylor/slate#4082
Sorry, something went wrong.
I see that now, should I close this?
Also what do you think is the best way to get reference to the Editable component as a workaround to this issue?
Yes let's close it.
Not sure if there is a way to access a DOM node without ref in React (did a quick lookup to no avail).
No branches or pull requests
Description
editableRef
prop doesn't work according to spec. It produces an error and doesn't attach the ref to the Editable's DOM element.Steps
useRef
orReact.createRef
editableRef
or go to the sandbox and you should see the error immediately in the console
Sandbox
https://codesandbox.io/s/sandpack-project-forked-oqs6r8?file=/App.tsx
Expectation
The newly created ref should be attached to the
editableRef
Environment
The text was updated successfully, but these errors were encountered: