Resize issue
See original GitHub issueHello, 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:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lukehaas, about:
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!
Same issue here. Sections are not attached to the top of the viewport when the viewport changes.