How is React Select focusing the input everytime we make a selection? #5276
Answered
by
manjushsh
florinpavel22
asked this question in
Q&A
-
Hi guys, if we give react-select |
Beta Was this translation helpful? Give feedback.
Answered by
manjushsh
Jul 18, 2022
Replies: 1 comment 1 reply
-
Input has ref. So focus is set through ref here |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
florinpavel22
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@florinpavel22
Input has ref. So focus is set through ref here
On Mouse Down at line 1151, which sets focus
On Click of menu item, onMouseDown is called @ Line 1912