React-select: Basic usage not working

Created on 31 Oct 2017  路  5Comments  路  Source: JedWatson/react-select

I'm currently attempting to use this package, and I started by copying the example code from the documentation verbatim, and it does not work. The Select input field shows up, but no dropdown menu is rendered displaying all the available options, nothing is saved, nothing works. Anybody else have issues with the documentation example code?

Most helpful comment

Check that you have the right plugin css code for the Select-menu-outer element, and that your code doesn't contain:

input {
  overflow: hidden;
}

All 5 comments

a little bit. i managed to figure out how to get it sort of working a little bit, as in it seems to successfully load the options now and i seem able to enter something into the field but still no dropdown list of all the options is rendered. isn't the default supposed to have the dropdown?

Check that you have the right plugin css code for the Select-menu-outer element, and that your code doesn't contain:

input {
  overflow: hidden;
}

Also ensure you're including the css if things don't look correct. I've added that to the usage now... going to close this because there's no bug we can fix directly, it sounds like it's usage related.

@JedWatson

Actually i have the same problem as @ongterence .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yrabinov picture yrabinov  路  3Comments

MalcolmDwyer picture MalcolmDwyer  路  3Comments

mjuopperi picture mjuopperi  路  3Comments

pgoldweic picture pgoldweic  路  3Comments

batusai513 picture batusai513  路  3Comments