-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 paragraphs are sometimes individually scrollable #92400
Comments
Do you have a URL so I can test it locally (and also a screenshot to see where precisely)? |
I have bisected this to #88824. There are a lot of rustdoc changes in that rollup, though. It only seems to happen for me in Firefox (96.0.1). It doesn't seem to happen in Safari or Chrome. Here is a screen capture: |
I see, thanks! |
FWIW, this is possibly a Firefox bug. I also notice this happening in the GitHub diff viewer. I tried searching for an issue related to this, but I couldn't find one. However, I am not very familiar with Firefox issue tracking. I also tried Firefox 98.0a1 (2022-01-14) nightly, and it is still happening. It's hard to explain what triggers it. The mouse cursor has to be at certain positions, but I can't tell what is special about them. |
I noticed this behavior, too. I can reproduce it on:
It does not happen on:
Which makes a Bug in Firefox all the more likely. |
I did notice this but it seems to be fixed in the latest nightly Firefox build. I can reproduce on stable Firefox on the Regardless, it can be prevented pretty easily with |
I can't reproduce it so I assume it was fixed. Please don't hesitate to reopen with an URL where it can be checked if it's not the case. |
On Firefox and MacOS, the individual paragraphs in item documentation sometimes scroll internally. This appears to happen when the cursor is on the top or bottom row of pixels of the paragraph, right where the cursor changes to a text cursor. If I remove the overflow-x: auto set on the paragraphs, the problem goes away.
The text was updated successfully, but these errors were encountered: