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

Non Body Scroll doesn't load. #146

Open
Nick-lab opened this issue Feb 1, 2018 · 4 comments
Open

Non Body Scroll doesn't load. #146

Nick-lab opened this issue Feb 1, 2018 · 4 comments

Comments

@Nick-lab
Copy link

Nick-lab commented Feb 1, 2018

Here is an example of my page layout.

<body>
   <div class="body-like-div">
         //body div is to mimic the body and allow overflow hidden
        <div class="side-nav">// list of nav-items</div>
        <div class="body-box">//contains content and scrolls</div>
   </div>
</body>

All the images that are at the top of the "body-box" will load but past the 200 px no more images load i checked by console.log out the urls to load.

this is when page is loaded
capture 1

and this is scrolled down
capture 2

@Nick-lab
Copy link
Author

Nick-lab commented Feb 1, 2018

just fixed it. in the unveil.js i just updated the $w variable to $('body-container') instead of $(window)

@TomTheRock
Copy link

problem still happend

@Nick-lab
Copy link
Author

Nick-lab commented Mar 8, 2018

whats the container that does that scrolling of your content? @TomTheRock

@TomTheRock
Copy link

I fixed this by clear the floating, because i using cols inside the collapse div. SlideDown works smooth now.

But the slideUp Animation is still not smooth it just hide/reset the initial height to 0...i don´t know why this happens, here a small test site:
https://www.transpack-krumbach.de/test-collapse.html

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

2 participants