-
Beta Was this translation helpful? Give feedback.
Answered by
tammyhart
Oct 27, 2024
Replies: 1 comment
-
After some digging, I discovered the culprit is a library I failed to include in my sample code: focus-trap-react I didn't dig deep enough to figure out why it was causing weirdness with ref, but I did find a solution which is not that pretty, but removes the error. My JSX before:
After:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tammyhart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After some digging, I discovered the culprit is a library I failed to include in my sample code: focus-trap-react
I didn't dig deep enough to figure out why it was causing weirdness with ref, but I did find a solution which is not that pretty, but removes the error.
My JSX before:
After: