When opening a page with many visualizations and scrolling down fast or jumping directly to a position some distance down, the page "jumps" up and down repeatedly as annotations are first blanked ("jump up") and then replaced with visualizations ("jump down").
Ideally, the reflows would be eliminated so that the annotations are simply replaced with the visualization without displaying an intermediate state. Alternatively, the effect could be reduced by hiding (e.g. display: none) all annotations in bulk early in processing.
dbcda54a4f1c47c0cdae96a0a02b6c0fdefbdcae implements the display: none alternative. The page now scrolls steadily up after initialization, which isn't great, but at least it's not jumping back and forth.
When opening a page with many visualizations and scrolling down fast or jumping directly to a position some distance down, the page "jumps" up and down repeatedly as annotations are first blanked ("jump up") and then replaced with visualizations ("jump down").
To replicate, open e.g. http://universaldependencies.github.io/docs/u/dep/all.html and jump immediately to the end of the page.
Ideally, the reflows would be eliminated so that the annotations are simply replaced with the visualization without displaying an intermediate state. Alternatively, the effect could be reduced by hiding (e.g.
display: none
) all annotations in bulk early in processing.