question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello, I’ve got a problem, when I resize the window, the space between two sections changes. On large resolutions I’ve got a big space between two blocks, on a narrow I’ve got a small space, but if i refresh the page the problem disappears. I would really appreciate if you could create a sample of resize function for scrollify.

Currently I’m using that default trigger:

<script> $(function() { $.scrollify({ section : ".example-classname", }); }); </script>

Thanks.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
vasilii-bcommented, Aug 14, 2018

@lukehaas, about:

Scrollify has an internal method that recalculates all section heights and positions on resizing. The issues you’re having sound like they are unrelated to Scrollify.

Yes, that’s true. BUT these lines of code says that page offset won’t be changed (to see the section in the viewport):

https://github.com/lukehaas/Scrollify/blob/4a40e9c53fab4239a28c6e6c00a999adec77f222/jquery.scrollify.js#L545-L548

That is because its passed false for the scroll param.

Thank you!

0reactions
samuel-claracommented, Mar 26, 2019

Same issue here. Sections are not attached to the top of the viewport when the viewport changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html/css window resize issue - Stack Overflow
But I have a problem where whenever I open the site on my laptop which has a smaller screen than my PC or...
Read more >
Windows 10 Screen resize issue. - Microsoft Community
Since upgrading to windows 10 they are too big and I cant resize them. I have been into each windows options but it...
Read more >
Resizing Issue · Issue #175 · romkatv/powerlevel10k - GitHub
I'm getting strange behavior when I resize my terminal. Is this expected? My p10k config is here.
Read more >
Troubleshoot Image Resizing problems - Cloudflare Support
Follow these steps to troubleshoot the most common issues with Image Resizing. Requests without resizing enabled Error responses from...
Read more >
Portal resize issue - Claris Community - FileMaker Pro
Portal resize issue. Whenever I resize a portal from the left or right handle, it gets 1 pixel taller (per row). Steps to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found