question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[V2] focusedOption when rendering custom MenuList

See original GitHub issue

In 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:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
mike391commented, Dec 21, 2018

+1 this is important

0reactions
bladeycommented, May 28, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found