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

problem when usin on scrollable elements #45

Open
omarcio opened this issue Mar 22, 2019 · 0 comments
Open

problem when usin on scrollable elements #45

omarcio opened this issue Mar 22, 2019 · 0 comments

Comments

@omarcio
Copy link

omarcio commented Mar 22, 2019

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:

  1. Click on the link "go to section 2.1". This correctly leads you to that div.
  2. 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.
  3. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant