• Nick O'Donoghue's avatar
    Fixes affix-top class not applying · 36b4f90f
    Nick O'Donoghue authored
    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
    Closes #15154 by merging it
    36b4f90f
Name
Last commit
Last update
dist Loading commit data...
docs Loading commit data...
fonts Loading commit data...
grunt Loading commit data...
js Loading commit data...
less Loading commit data...
test-infra Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CNAME Loading commit data...
CONTRIBUTING.md Loading commit data...
Gruntfile.js Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
_config.yml Loading commit data...
bower.json Loading commit data...
composer.json Loading commit data...
package.json Loading commit data...