Skip to content

Scroll commands not working j/k u/d G/gg #4293

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

Closed
mcint opened this issue Aug 10, 2023 · 4 comments
Closed

Scroll commands not working j/k u/d G/gg #4293

mcint opened this issue Aug 10, 2023 · 4 comments

Comments

@mcint
Copy link

mcint commented Aug 10, 2023

Describe the bug
I've encountered this bug on other sites, at the moment I just have https://google.github.io/typograms/ to mention.

Any of k, u, gg will move the viewport up about 3px or 0.035em (1/28, 28 keypresses per line).

I've tried manually running vimium's functions but I'm not quite sure what objects they're loaded on in the DOM (might be a nice wiki page). But the standard(?) scrollBy, scrollTo, and similar on document.scrollingElement (-> body) and document.body, are not helping me on this example.

document.scrollingElement.scroll("x", 1000) works for me on xkcd.com, but not on this site.

To Reproduce
Steps to reproduce the behavior:

  1. Go to URL 'this site'
  2. Use spacebar to move view down a page
  3. Try j/k, u/d, gg/G

Include a screenshot if applicable.

Browser and Vimium version
Browser: 1.56.14 Chromium: 115.0.5790.114 (Official Build) (64-bit)
Vimium: 1.67.7 (chrome extension store)

Seems to be similar or related to #962, #1138, #2168 (PR), or #2756

@gdh1995
Copy link
Contributor

gdh1995 commented Aug 17, 2023

Um not reproduced on Vimium v1.67.6 and a current master version on MS Edge 115 and Win 11.

@danielkaczmarczyk
Copy link

On Vimium version 1.67.7 and Firefox 116.0.3 (64-bit) MacOS works fine too, can't reproduce.

@philc
Copy link
Owner

philc commented Nov 17, 2023

I couldn't reproduce.

@philc philc closed this as completed Nov 17, 2023
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

4 participants