-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rustdoc closes sidebar when window is resized #77942
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
jonas-schievink
added
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
labels
Oct 14, 2020
I don't see how you can resize a browser on a phone. Do you have a video of this behavior by any chance? I have to admit that I'm a bit lost here... |
Do they mean zoom instead ? |
Ok I see now. Thanks! I'll fix it in the next days. |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Oct 16, 2020
…obile-devices, r=jyn514 Fix sidebar scroll on mobile devices Fixes rust-lang#77942. The issue was coming from the appearance/disappearance of the "wrapper" on the mobile devices web browsers, which triggers the "resize" event, calling the `hideSidebar` function is the JS code. r? @jyn514
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Oct 16, 2020
…obile-devices, r=jyn514 Fix sidebar scroll on mobile devices Fixes rust-lang#77942. The issue was coming from the appearance/disappearance of the "wrapper" on the mobile devices web browsers, which triggers the "resize" event, calling the `hideSidebar` function is the JS code. r? @jyn514
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
On a small viewport where the sidebar is hidden by default, if the sidebar is opened and then the window is resized the sidebar closes.
This makes rustdoc pages practically unusable on Android Firefox as scrolling down hides the top bar and resizes the window.
The text was updated successfully, but these errors were encountered: