[V2] focusedOption when rendering custom MenuList
See original GitHub issueIn V2, I want to completely replace the MenuList including its children (the options). But then the option loses the default highlighted color when it is “focused”. How could I keep that in V2?
In V1, there is a focusedOption
prop which could be used to highlight the option manually.
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:5 (1 by maintainers)
Top Results From Across the Web
API - React Select
A flexible and beautiful Select Input control for ReactJS with multiselect, autocomplete and ajax support.
Read more >React-Select custom input inside MenuList - Stack Overflow
I'm guessing the react select's components.Input is rendering another div inside the input tag or something like that. Does anybody have an idea ......
Read more >react-select/CHANGELOG.md - UNPKG
This is part of the work to normalize the behaviour circa custom components. ... Setting it to false disables rendering values in the...
Read more >chakra-react-select - npm
A Chakra UI wrapper for the popular library React Select. Latest version: 4.4.3, last published: 16 days ago.
Read more >react-select-prototype.patch - Drupal
getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e. ... press Enter to select the currently focused option",", press Escape to exit ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 this is important
Hello -
In an effort to sustain the
react-select
project going forward, we’re closing old issues.We understand this might be inconvenient but in the best interest of supporting the broader community we have to direct our efforts towards the current major version.
If you aren’t using the latest version of
react-select
please consider upgrading to see if it resolves any issues you’re having.However, if you feel this issue is still relevant and you’d like us to review it - please leave a comment and we’ll do our best to get back to you!