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

Scrolling bugs #48

Open
Fazarel opened this issue Mar 8, 2024 · 3 comments
Open

Scrolling bugs #48

Fazarel opened this issue Mar 8, 2024 · 3 comments
Assignees
Labels
help wanted Extra attention is needed ui

Comments

@Fazarel
Copy link
Contributor

Fazarel commented Mar 8, 2024

I've noticed two unexpected behaviors when scrolling a page. They are random and can appear on any page.

  1. Scrolling stops at the end of the page content, and you can't scroll all the way to the bottom of the left sidebar (if it contains information at a lower level than the page content, of course).

  2. Sometimes, continuing to scroll beyond the page content results in a jump back to the end of the content. Quite unpleasant for the eyes, and here too the lower part of the left sidebar cannot be displayed.

Refreshing the page immediately fixes the bug. But it may occur again, on another page or on a new visit to the site.

Bug present on the demo site and confirmed with 2 browsers:
Firefox 123.0.1 (64-bit)
Chromium 122.0.6261.94 (Official Build) snap (64-bit)

In Firefox, Web Developer Tools (F12) displays the following message:
"This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html for further details and to join the discussion on related tools and features!"

@pmoreno-rodriguez pmoreno-rodriguez self-assigned this Mar 8, 2024
@pmoreno-rodriguez pmoreno-rodriguez added help wanted Extra attention is needed ui labels Mar 8, 2024
@pmoreno-rodriguez
Copy link
Owner

pmoreno-rodriguez commented Mar 8, 2024

I have observed this behavior for a while, but I am not able to repeat it all the time, so it is difficult to know why it happens.
The message that Firefox shows is shown on many other pages and this does not happen to them.
I will continue investigating, but any help is welcome.

It might be interesting to contact the creator of the original HTML5Up theme, to see if they can resolve it.
Keep in mind that Grav's theme is an adaptation of a previous theme.

Thank you

@CarlSinclair
Copy link

Could this be related to jQuery's lack of support for passive scrolling?

image

@learningtime2025
Copy link

Also, interesting effect...
if "Dropdown in navbar" enabled, and when you open menu - you cant scroll down...
this happens when height of menu items cant fit on page vertically...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed ui
Projects
None yet
Development

No branches or pull requests

4 participants