You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed in 57ea24b. The reason for this behavior was that all elements with the md-ellipsis class were only filtered once the document was loaded (and on every instant loading event), and then filtered for whether they show an ellipsis or not, i.e. overflow. Initially invisible elements were always filtered, which means that tooltips were never mounted, even though they became visible later. Now, every element is watched for visibility, and once it becomes visible, the tooltip is mounted. If it becomes invisible again, the tooltip is retained. I first checked if we could just add and remove tooltips when elements change visibility, but that led to an increase in pressure on the rendering engine, especially when you scroll fast.
For this reason, keeping elements once they become visible once is the best compromise. With navigation tabs and sections enabled, there may be many elements that will never become visible on larger screens, i.e. for the inactive tabs, which need to be included for mobile navigation.
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
Bildschirmaufnahme.2022-06-15.um.10.49.12.mov
Expected behaviour
When enabling
content.tooltips
, tooltips should appear on all links that are shortened with ellipsis.Actual behaviour
Navigation items that are shortened with ellipsis inside collapsed sections don't have tooltips.
After reloading the page with the section expanded, the tooltip appears. See video.
Steps to reproduce
See video.
Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: