Skip to content

html5 semantic elements, site scrolling does not work—advice for site authors? #4267

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

Open
mcint opened this issue Jun 21, 2023 · 2 comments

Comments

@mcint
Copy link

mcint commented Jun 21, 2023

Describe the bug
Scrolling doesn't work on a site. j/d do nothing, u/k scroll up by the same tiny increment. g/G do nothing.

I am asking here, so that someone who knows the codebase well can quickly answer why it's not working, which I can then link to the site's authors.

I would love even a short list of ways that sites implement scrollable sections, and how vimium accounts for all these. Other site-specific issue, unrelated, but I know these must be a burden #3134. Could a site-specific label be offered in this issues list? Perhaps this issue can also be seen as a request for an FAQ, or debug guide, or links to a list of site-specific issues that have been resolved or closed over time.

To Reproduce
Steps to reproduce the behavior:

  1. Go to URL https://determinate.systems/ or https://determinate.systems/posts/flake-checker, or personal blog by same author, https://grahamc.com/blog/nixos-on-framework/
  2. Attempt to scroll. Click on or focus the page, attempt to scroll. Scroll down manually, notice minimal scroll up acions.

Browser and Vimium version
Vimium: 1.67.4. Tested with chrome store version (& run with verison customized for iframe handling)
Browser: Brave 1.52.122 Chromium: 114.0.5735.110 (Official Build) (x86_64)

@mcint mcint changed the title Scrolling doesn't work on some sites Scrolling j/d, u/k, g/G does not work on sites—how should I advice site authors? Jun 21, 2023
@mcint mcint changed the title Scrolling j/d, u/k, g/G does not work on sites—how should I advice site authors? Scrolling j/d, u/k, g/G does not work on sites—html5 semantic elements—how should I advise site authors? Jun 21, 2023
@mcint
Copy link
Author

mcint commented Jun 21, 2023

Update: it looks like these sites rely on html semantic elements. If I had to guess, these elements are not used in a consistent way across the web, and vimium has not deployed a general system for handling them.
https://grahamc.com/blog/nixos-on-framework/

  • body
    • header
    • article
    • nav
    • section

https://determinate.systems/

@mcint mcint changed the title Scrolling j/d, u/k, g/G does not work on sites—html5 semantic elements—how should I advise site authors? html5 semantic elements, site scrolling does not work—advice for site authors? Jun 21, 2023
@mcint
Copy link
Author

mcint commented Jun 21, 2023

Manually calling document.body.scrollBy('y', 1000); in console, works.

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