- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 3.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
long unbreakable headings break mobile table-of-contents view #6344
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Coming back to this, I should have looked at your reproduction first. I do not get the behaviour you describe when I use the Insider version of Material but when I use the public version I get the same result as you do. This does seem to be an unintended divergence between the two versions to me. |
I think I have spotted where the problem lies. In the |
Keeping open, until released. |
Released as part of 9.4.9. |
Context
No response
Bug description
If you have a very long unbreakable heading in a page, the table of contents view (in the mobile sidebar) will not wrap it, and it will be scrollable off-screen.
I am not sure what the most desirable behavior here is, e.g. force wrapping (even in the middle of words), or making an ellipsis, or something else.
Related links
Reproduction
9.4.8-long-headings-break-toc.zip
Steps to reproduce
Browser
No response
Before submitting
The text was updated successfully, but these errors were encountered: