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

Cannot scroll to bottom with chrome #877

Open
keithc-ca opened this issue Jan 17, 2022 · 4 comments
Open

Cannot scroll to bottom with chrome #877

keithc-ca opened this issue Jan 17, 2022 · 4 comments
Labels

Comments

@keithc-ca
Copy link
Contributor

When the browser window is wide enough, the menu is expanded inline on the left side of the page. After expanding to a long submenu (e.g. 'JVM -X options') no scrollbar appears and using the mouse wheel the menu stops scrolling before reaching the bottom. Selecting the last visible entry makes a few more entries accessible, but you have to apply that workaround multiple times to reach some of the final entries.

Along the way, the main footer scrolls up beyond the top of the screen as you try to reach the bottom of the menu.

Observed in chrome version 97.0.4692.71 (Official Build) (64-bit).

Scrolling behavior works as expected with these 64-bit browsers

  • brave 97.0.4692.71
  • edge 97.0.1072.64
  • firefox version 96.0.1
    This is surprising given that both brave and edge are built upon the same engine as chrome.
@keithc-ca keithc-ca added the bug label Jan 17, 2022
@Sreekala-Gopakumar
Copy link
Contributor

@keithc-ca - Is this still persisting? Are you able to reproduce this issue? I couldn't see this issue. Wanted to check whether it got resolved because of mkdocs builds update. Thanks!

@keithc-ca
Copy link
Contributor Author

Yes, I encountered it again the other day. It seems to be dependent on the width of the browser window; if I maximize the window, then the scrollbar appears.

@doveye
Copy link
Contributor

doveye commented Apr 18, 2023

I just had a play and I can make it behave oddly too 🙂. If I reduce the width of the browser window until the left-nav disappears (which is working as designed - you get a hamburger menu at the top instead), then slowly and gradually increase the browser window width, I can get a sort of halfway point where the left nav is there (but fully expanded, which is odd) and so is the hamburger menu (but it doesn't do anything when you click the icon), but the scrollbar is absent. I wasn't using a mouse so couldn't test the wheel scroll issue but there is definitely something strange in the left nav behaviour.

image

Should look either like this (narrow window, no left nav, hamburger menu):

image

Or like this (wide window, left nav with collapsed entries and scroll bar, no hamburger menu):

image

I'm using Chrome 112.0.5615.121 on Windows 10.

@doveye
Copy link
Contributor

doveye commented Apr 18, 2023

I can reproduce the above behaviour on Firefox and Edge. Next step would be to try a vanilla MkDocs+Material and see if that shows the same behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants