-
Notifications
You must be signed in to change notification settings - Fork 195
Description
I've notice that if you use the plugin with scrollable elements and you use the scroll in those elements, the behaviour sometimes looks like there's a bug.
Url with the example of the problem:
http://jsfiddle.net/oms02/s53h7gko/26/
Scenario:
There's a wrapper (small size) wich has inside two large scrollable divs (once upon the other) with six floated elements with a height bigger than their parents so that the user can use the scroll.
In resume, the "map" look like this:
| 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 |
-- -- -- -- -- -- -- -- -- -- -- --
| 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 2.6 |
Steps:
- Click on the link "go to section 2.1". This correctly leads you to that div.
- Scroll on the section and before you click on the other link, make sure the div#section2.1 is not on the top (scroll). In this case, you won't be able to see the text of the box.
- Click on the link "go to section 2.2": on the second movement (on the y axis) it scrolls on the whole wrapper, which is wrong because the scroll should happen on the #div2. The text of the boxes look like hidden. If you scroll on the boxes of section 2, then you'll see the content, but you can see that the plugin didn't bring you to the correct position.