focus on input field becomes double when using useRef #11026
Unanswered
farisatech
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use the onFocus of the input field as a trigger for a popover using useRef, but when I use it it makes the focus of the input field double.
and sometimes after clicking on the popover content the focus of the useRef becomes blurry and closes the popover content where the user thinks that they have selected one of the options in the popover content.
I hope there is a solution that can be given to me regarding what I am experiencing, thank you.
onFocus.using.useRef.mp4
Beta Was this translation helpful? Give feedback.
All reactions