Replies: 2 comments
-
Anyone got the solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Anyone got the solution? |
Beta Was this translation helpful? Give feedback.
-
We would like to build simple autocomplete component with an Input element as a popover trigger. Trigger should happen on input click. When popover opens we should be able to type our autocomplete text without focusing on input once again - on popover open, focus should stay on input which at the same time is a trigger. The solution we took is to put initialFocusRef on the input element. However it creates one problem - popover doesnt close on clicking outside the whole component but on clicking again on the trigger - input element. How to achieve that, how to fix that problem?
Beta Was this translation helpful? Give feedback.
All reactions