-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
Wrong usage of createRef in react function component #5519
Labels
Comments
@Frs2304 @Shibbu264 I already made a pr with the fix #5520 |
Is this issue still open? I would like to work on this if it's still open. |
This was fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In SidebarPopup component
createRef
was used in a function component which makes the reference always benull
:https://github.com/plone/volto/blob/16.x.x/src/components/manage/Sidebar/SidebarPopup.jsx#L12
Use
useRef
insteadThe text was updated successfully, but these errors were encountered: