-
Notifications
You must be signed in to change notification settings - Fork 63
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
hacks.mozilla.org - Scrollable code blocks change height and page layout jumps, when opening/hiding navigation bar #27820
Comments
Thanks @jimbo1qaz for this reported issue! I can reproduce it on one of my test devices: The issue is not reproducible on: Moving to needsdiagnosis. |
I think the code blocks resize themselves to around viewport height (even on desktop when resizing the browser window). For some reason, Firefox Android's window height changes when its top bar expands/collapses. |
The height of the code block is set as .article pre {
word-wrap: break-word;
font-size: 1rem;
max-height: 75vh;
overflow: auto;
padding: 0.5em;
} so this change when the height changes indeed due to the scrollbar.
@theres-waldo another issue with viewport, url bar, and height specified in vh. |
Making (Note: unlike |
Thanks. |
Should I avoid reporting bugs caused by known Firefox viewport issues? |
I think it's helpful to still report them, for two reasons:
|
@jimbo1qaz it's very useful. I closed it as a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1515980 Once it is fixed we can trace back to here and test again and sees if we had made the right assumption. If not we will reopen. So yes, please keep them coming. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue at https://webcompat.com/issues/new if you are experiencing a similar problem. |
URL: https://hacks.mozilla.org/2019/03/fast-bump-allocated-virtual-doms-with-rust-and-wasm/
Browser / Version: Firefox Mobile 65.0
Operating System: Android 7.0
Tested Another Browser: Yes
Problem type: Design is broken
Description: Scrollable code blocks change height and page layout jumps, when opening/hiding navigation bar
Steps to Reproduce:
issue is similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1277712
Browser Configuration
Reported by @jimbo1qaz
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: