v3.2 Lazy mode. Thank you. We expected it, you did it !
@dpvc is already working on this.
Since Jan 11, 2022.
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Bonjour,
This is not a feature request, this is not a bug report. Maybe a tiny update in the official doc pointing out that the IntersectionObserver is used, so CSS properties have to be refined for macros defined in hidden tags using the CSS property display: none.
Thank you. We expected it, you did it ! Great work, well done. We have immediately migrated to version 3.2 in lazy mode : no more blocking time in pages, great performances. Excellent.
To manage macros in hidden tags, we migrated the display:none property to position:fixed, height:0, width:0 to ensure they are in the viewport and computed immediately even if the user is scrolled to any location in the page by an anchor.
ins[class*="math"][class*="macros"] { display: none; }
by
ins[class*="math"][class*="macros"] {
position: fixed; top: 10px; height: 0px; width: 0px;
color: transparent; background-color: transparent;
}
A page blocking before v 3.2 lazy mode
Another page blocking before v 3.2 lazy mode
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.