The Wayback Machine - https://web.archive.org/web/20201118035018/https://github.com/abouolia/sticky-sidebar/issues/107
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

Content wrapped in a scrollable, fixed-height div breaks functionality #107

Open
blixhavn opened this issue Dec 10, 2019 · 0 comments
Open

Content wrapped in a scrollable, fixed-height div breaks functionality #107

blixhavn opened this issue Dec 10, 2019 · 0 comments

Comments

@blixhavn
Copy link

@blixhavn blixhavn commented Dec 10, 2019

As demonstrated in https://codepen.io/blixhavn/pen/dyPMYeM

When wrapping the sidebar and its content within a scrollable, fixed-height div, the sticky sidebar does not work.

@blixhavn blixhavn changed the title Content wrapped in div with overflow-y: auto breaks functionality Content wrapped in a scrollable, fixed-height div breaks functionality Dec 10, 2019
blixhavn referenced this issue in blixhavn/sticky-sidebar-v2 Dec 11, 2019
* Adds option scrollContainer to use if the sidebar is contained
  in a parent div with fixed height and overflow-y: scroll/auto.

solves #107
blixhavn referenced this issue in blixhavn/sticky-sidebar-v2 Jan 9, 2020
* Adds option scrollContainer to use if the sidebar is contained
  in a parent div with fixed height and overflow-y: scroll/auto.

solves #107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.