-
Notifications
You must be signed in to change notification settings - Fork 25
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
There seem to be a large flickering when the sidebar's height is bigger then the content #12
Comments
The JS from the demo page seems to work fine. |
Same problem to me.. |
@wzol Sorry for the long delay. Are you saying that the JS from the demo page helped you solve this somehow, or that it for some reason doesn't show the problem? I haven't been able to reproduce it so far. Please chime in @frugan-it if you have any more clues. |
I just merged a pull request into master - could you check if this fixes your problem? |
I'm using version 1.1.1(version in the code itself is still 1.0.1 btw) and the issue is present. It keeps changing between sticky and non-sticky state. I'll investigate and hopefully make a PR to fix it. |
It seems like a crutch and I don't understand why it works, but if you add "overflow: hidden" to .inner-wrapper-sticky it stops twitching |
The issue is that @melnikbo Unfortunately, in my case adding |
I figured out what's causing the issue in my instance. The element I use for creating my instance of StickySidebar has So does removing the padding on the element pass to the instance also help in your cases @melnikbo, @frugan-it and @wzol? |
Hi there, I created a test with TWBS v4 here https://jsfiddle.net/ewake/xjod0fz7/8/ and actually the flickering stops by removing the margin-bottom from the last paragraph inside the sidebar |
Just to add my experience with the bug. I've got no padding-bottom on the stickysidebar. But using |
I got this problem when I added margin-bottom to a child element in sidebar |
The issue can happen when there is example a 404 or "no results" page, so the main content is small, but the sidebar still has the same long content - is there a workaround or proper way to handle this?
The text was updated successfully, but these errors were encountered: