-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Sidebare Affix Jumps when scrolling back up - it works with Version 3.1.1. but NOT with current 3.3.0 #15078
Comments
Hi @MikeSmith12222! You appear to have posted a live example (http://fiddle.jshell.net/LYgam/9/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
What about with v3.2.0? |
Use scrollTop instead of colliderTop which uses the elements offset().top, as the offset top does not account for padding. This issue can be replicated by using a navbar-fixed-top and applying relevant padding to the body. (A navbar-static-top with no padding on the body does not encounter this issue) Fixes #15078
What is the solution of this issue? I upgraded to latest version of bootstrap from 3.1 to 3.3.3 and having this affix problem. |
@jitendravyas the fix was applied in v3.3.2. If you are still seeing problems, please open a new issue and include a JS Fiddle demonstrating the problem. |
Hi guys,
when affixing a sidebar, the current affix version jumps and overlaps when scrolling back up.
Check out this jsfiddle: http://jsfiddle.net/LYgam/9/
The Jsfiddle has bootstrap version 3.1.1 configured.
The error appears when replacing the bootstrap.js.min file with verison 3.3.0.
Now this one took me hours to find out - it would be really nice to have a fix
Kind regards
Mike
The text was updated successfully, but these errors were encountered: