Input used in custom Option #4958
Unanswered
kennyjwilli
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.
-
I would like to add an
input
to a customOption
I passSelect
. I am having trouble getting theinput
in theOption
to gain focus. Here's a codesandbox, modified from "Adding buttons within Menu Options" in #4341.After opening the select, try hovering an option, and clicking in the input box rendered. The input will not gain focus. Instead, the select search remains focused.
How might I get my
Option
'sinput
to gain focus so the user can type in it?Beta Was this translation helpful? Give feedback.
All reactions