ifcurl/forgejo/custom/public/assets
Bruno Postle 369b7f98e3 Fix model reload transition: snapshot overlay + bfcache handling
- Inline script at top of <body> creates the snapshot overlay immediately
  on page load, before the deferred module script runs, eliminating the
  black flash between navigation and overlay appearance
- Save a JPEG snapshot to sessionStorage before navigating to a new ref;
  the overlay covers the blank WebGL canvas while the model reloads
- Fade the overlay out after two animation frames post-load so the canvas
  has painted before the transition begins
- Reload on pageshow with persisted=true: bfcache restore left the WebGL
  canvas blank and skipped the inline script; a fresh reload lets the
  snapshot overlay work correctly
- Replace native <datalist> ref picker with a custom dropdown; the native
  datalist won't open programmatically via .focus() in most browsers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 10:23:29 +01:00
..
fragments-worker.js viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00
ifcurl.js Fix PR diff early return and fetch branch commits on miss 2026-05-16 01:12:15 +01:00
viewer-deps.js forgejo: add @thatopen/components-front, fix click-to-identify and model overview 2026-04-28 00:01:19 +01:00
viewer-url.js Viewer: query field and results table (ifcurl-2iv, ifcurl-4u3) 2026-05-09 11:09:55 +00:00
viewer-util.js forgejo: add JS unit tests, extract pure functions into viewer-util.js 2026-04-27 20:24:58 +01:00
viewer.html Fix model reload transition: snapshot overlay + bfcache handling 2026-05-17 10:23:29 +01:00
viewer.js Fix model reload transition: snapshot overlay + bfcache handling 2026-05-17 10:23:29 +01:00
web-ifc-mt.wasm viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00
web-ifc.wasm viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00