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.

Dropdown remains fixed in place and doesn't scroll with parent container

See original GitHub issue

This issue is a round-up of multiple past issues documenting the same bug. Feel free to check out the linked issues below for more information. This issue is the source of truth going forward to investigate the issue, report findings, and implement a bug fix.

Issue:

Screen Capture on 2020-06-15 at 14-43-03

Dropdown remains fixed in place and doesn’t scroll with parent container.

The commit responsible for this issue is located here - https://github.com/JedWatson/react-select/commit/691a01171969da89e20097f9d603651bb18a8510

Version v3.0.4 does not have this bug however the latest release v3.1.0 does.

Issues:

https://github.com/JedWatson/react-select/issues/4554 https://github.com/JedWatson/react-select/issues/4020 https://github.com/JedWatson/react-select/issues/4052 https://github.com/JedWatson/react-select/issues/3734 https://github.com/JedWatson/react-select/issues/4085 https://github.com/JedWatson/react-select/issues/3929 https://github.com/JedWatson/react-select/issues/3349 https://github.com/JedWatson/react-select/issues/3646

Examples:

https://codesandbox.io/s/react-select-v3-sandbox-forked-lgkms https://codesandbox.io/s/compassionate-cookies-85j2n https://codesandbox.io/s/react-select-v3-sandbox-kr5wf https://codesandbox.io/s/festive-dirac-izf5y https://codesandbox.io/s/react-codesandboxer-example-xy47y

If anyone would like to share any further information, please do so.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:44
  • Comments:60 (1 by maintainers)

github_iconTop GitHub Comments

27reactions
mjb95commented, Jul 30, 2020

Hi, has any progress been made on this issue?

22reactions
Methuselah96commented, May 7, 2021

By way of an update, we have finished the Flow to TypeScript conversion and we’re taking a look at this issue as our next focus. Depending on how extensive the changes have to be to fix this, this might end up in either v5 or v6 (if it requires breaking changes). Thanks everyone for your patience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dropdown Menu Doesn't Stay in Place When Scrolling
Basically Iam having trouble when a user "scrolls" with the Datetime Picker, where it "scrolls" with the page instead of being fixed. Basically ......
Read more >
Dropdown remains fixed in place and doesn't scroll with ...
Dropdown remains fixed in place and doesn't scroll with parent container ... This issue is a round-up of multiple past issues documenting the...
Read more >
"Fix Position When Scrolling" not working as part of a ...
Make a parent component with a fixed element inside of it. Publish it to a library. Enable that library in a new project...
Read more >
Scrolling a CSS-driven dropdown menu and overflow:hidden?
First of all you can't hide the overflow on the scroller or you won't see the dropdowns. Also you want the dropdown menus...
Read more >
What is the difference between position:sticky and position ...
HTML ; 1. Element with position: fixed property is fixed to the viewport and doesn't move irrespective of scrolling. Element with position: ...
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

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