Drop-down looses focus when I select an item, can anyone please tell me how should I maintain focus.
馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
yes please resolve my issue.
As I see, it's duplicate of #3158. If I missed something, please fill issue template fully and ping me 馃惐
My issue is similar to this issue. https://github.com/Semantic-Org/Semantic-UI/issues/1253.
But In React library i am facing this.
My problem is that Steps
Expected Result
The dropdown to be in focus.
Actual Result
Dropdown looses focus. instead focus goes to the selected item in the dropdown list.
Can i do something to keep the focus to the the dropdown element ?
@layershifter can you give me a solution.
i am facing the same issue. please help
Please provide codesandbox example, Dropdown has too many options and it's not obvious for what variant you're claiming.
@layershifter here is the sandbox https://codesandbox.io/s/n76ryvq73p . I want the focus to remain in the dropdown when an option is selected.
Thanks.
@layershifter any update
I will take a look when it will be possible. This is an open source project and the best possible resolution for the any issue is a contribution.
Linking #1806.
Marked this as bug, we should keep focus in this case. The native select has the same behavior.
@layershifter thanks.
I can probably take a look on this one. I noticed that SUI's Dropdown also loses focus after selection.
@Fabianopb will be glad to review the PR 馃憤
I only fixed Search Selection not All dropdowns because SUI鈥檚 Search Selection retains focus after selection.
Should we fix All dropdowns ? even though they have same behavior as SUI鈥檚 have
Should we fix All dropdowns ? even though they have same behavior as SUI鈥檚 have
Yes, please 馃憤 We should keep focus because native <select> does the same thing.
Most helpful comment
My issue is similar to this issue. https://github.com/Semantic-Org/Semantic-UI/issues/1253.
But In React library i am facing this.
My problem is that Steps
Expected Result
The dropdown to be in focus.
Actual Result
Dropdown looses focus. instead focus goes to the selected item in the dropdown list.
Can i do something to keep the focus to the the dropdown element ?
@layershifter can you give me a solution.