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

using menuPortal & controlElement should dynamically calculate position of the menu based on scroll #3349

Closed
Rohanhacker opened this issue Jan 14, 2019 · 2 comments

Comments

@Rohanhacker
Copy link

  • What's your use case? (Tell us about your application and what problem you're trying to solve.)
    If the react select is inside a scrollable container and we are passing menuPortal as body and a controlElement. The menu does not move with the scroll.
  • What interface do you have in mind? (What new properties or methods do you think might be helpful?)
    It should dynamically calculate the position of the menu when we scroll based on the scroll. We can pass the scroll container as prop eg. scrollContainer={this.refToContainer}
  • Can you point to similar functionality with any existing libraries or components? (Working demos can be helpful.)
    NA
@benkindt
Copy link

benkindt commented Aug 7, 2019

Related to issue #3313

@bladey
Copy link
Contributor

bladey commented Jun 15, 2020

Hello -

Thanks for reporting this issue.

This bug has been reported multiple times as per issue #4088.

A new master issue #4088 has since been created to keep track this this bug.

This new issue will exist as the source of truth going forward to investigate the issue, report findings, and implement a bug fix.

We'll take into account all the details above while investigating.

If you feel this issue has been wrongly closed as it isn't related to the new master issue #4088, please let us know and we'll take another look.

Thank you!

@bladey bladey closed this as completed Jun 15, 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

3 participants