Files
libretro/website
Abdessamad Derraz cb23f7f8a4 fix: read table and sidebar geometry after layout
Two reads forced a layout of the whole page. The sidebar measured the
current link as the script ran (114 ms on gaps, mobile, 4x CPU
throttling), and every table's width was read in an idle callback that
still found the layout invalidated (103 ms), then again after enhance()
wrote captions (131 ms). The sidebar now reads an IntersectionObserver
entry and the tables a ResizeObserver, whose callbacks run once the page
is laid out. The observer also covers a window resize and a block that
opens.
2026-11-19 18:42:55 +01:00
..
2026-11-17 19:33:43 +01:00