Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu list is not shown in a scrollable div #637

Closed
xabikos opened this issue Nov 30, 2015 · 5 comments
Closed

Menu list is not shown in a scrollable div #637

xabikos opened this issue Nov 30, 2015 · 5 comments

Comments

@xabikos
Copy link

xabikos commented Nov 30, 2015

When we render the select component inside a div that has overflow auto and there is not enough space for the menu to appear then we need to scroll to be able to see all the options. You can see an example here
select

Instead a behavior like on that follows would be better

date

Both of the pop ups are absolute positioned but I couldn't find any other differences

@xabikos
Copy link
Author

xabikos commented Dec 8, 2015

After investigating a bit more and dig into the code of react-datepicker to see how they do it I found that this control uses tether library to have the pop up absolute positioning and always to the right spot. Is there any interest to submit a pull request and follow the same approach to solve the issue? @JedWatson

@christophediprima
Copy link

I am very interested on this feature as I am having the same issue in my list !

capture d ecran 2015-12-22 a 10 30 23

@winterbe
Copy link

Is this fixed in latest 1.0-beta? I would love to give react-select a try but this issue would be a job stopper for us.

@guilleCM
Copy link

guilleCM commented Sep 7, 2018

Any fix this issue?

@matthewcorreia
Copy link

@guilleCM if you use react-select v2, there is an option to use portals to solve this issue:
https://react-select.com/advanced#portaling

@jossmac jossmac closed this as completed Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants