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.

Focus and expand the select list

See original GitHub issue

react-select-expand

When I focus the component instance (this.refs.mySelectList.focus()), the list will focus but not expand. Is there a way to also expand the list programatically?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:3
  • Comments:15

github_iconTop GitHub Comments

1reaction
jkilliancommented, May 16, 2016

Also, I think the openOnFocus prop fixes this so this issue can potentially be closed @approots

0reactions
jossmaccommented, Mar 17, 2020

Version 1 of react-select is no longer supported.

In the best interest of the community we’ve decided to spend the time we have available on the latest version.

We apologise for any inconvenience.

Please see:

  1. v1 to v2 upgrade guide
  2. v1 documentation and examples
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Expand Select Box to its Default Width on Focus Using ...
Answer: Use the CSS :focus pseudo-class. By default the size of the <select> element is depend on the size of the largest <option>...
Read more >
Set Focus on <select> Element on Page Load - EncodeDna.com
The first example shows how to set focus on a SELECT element or a DropDown list on page load. In the second example,...
Read more >
jquery - Expand select dropdown - Stack Overflow
Any Ideas...?? I do not want it to look like a select multiple box, but rather have the select dropdown, with the dropdown...
Read more >
How to expand html select menu(dropdownlist) on focus event.
Hello All, I am facing problem to open select menu options on focus event. There is no solution I found for this problem....
Read more >
How to set the focus on drop-down list automatically when the ...
The purpose of this article is to focus the drop-down list automatically when the page loads in HTML5. The <select> autofocus attribute is...
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