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

ScrollSpy not acurate unless element has position: relative #12487

Closed
kennethjevans opened this issue Jan 31, 2014 · 1 comment
Closed

ScrollSpy not acurate unless element has position: relative #12487

kennethjevans opened this issue Jan 31, 2014 · 1 comment
Milestone

Comments

@kennethjevans
Copy link

I just noticed that Scroll Spy miscalculates the offsets for its targets unless the element the scrollspy is on has its position set to relative.

This isn't a huge deal, but it isn't documented at all. Could we please get the documentation updated?

Thank you.

In case I'm crazy, I've setup a jsFiddle to demonstrate. I'm seeing this behavior in Windows 8 on FF 26, Chrome 32, and IE 10.

http://jsfiddle.net/ZAEXu/

@kennethjevans
Copy link
Author

The documentation also isn't very clear that the event fires on the li elements of the navs in the target.

@cvrebert cvrebert modified the milestones: v3.2.0, v3.1.1 Feb 9, 2014
@mdo mdo closed this as completed in 4d870af Mar 9, 2014
@mdo mdo mentioned this issue Mar 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants