react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Unable to focus or use other input fields inside selector

Open sikhaman opened this issue 1 year ago • 3 comments

So I have a use case when I need to put other component inside the MenuList component of react-select and the problem is when I do it, I am not able to focus or interact with that input.

I forked codesandbox you can check it. Again, problem is input or button elements unable to click or focus

So goal is have an option to put custom element after menu list like in antDesign select component image

sikhaman avatar Nov 01 '23 18:11 sikhaman

I'm having the same issue. Did you manage to work on a solution?

GuilhermeAmado avatar Nov 21 '23 15:11 GuilhermeAmado

I addressed the same problem by introducing another state to manage the focus on the input. However, this solution didn't result in a positive user interface experience, as users need to click each time to bring focus to the input.

sandbox

vidhuUC avatar Nov 30 '23 16:11 vidhuUC

I'm having the same issue. Did you manage to work on a solution?

unfortunately not yet. I tried use custom components based on contenteditable but no luck. everything related to focus event and state update not working

sikhaman avatar Dec 01 '23 15:12 sikhaman