siftlode/frontend
npeter83 1a2700d8fc fix(modal): stop Release Notes modal flashing shut on modal-to-modal handoff
useBackToClose eagerly pushed a history entry on mount and called history.back()
on unmount. During a modal->modal handoff (e.g. About -> Release Notes) the two ran
interleaved in one React commit, so the entering modal's popstate listener mistook the
leaving modal's back() for a genuine user Back and closed itself instantly. It also left
the history pointer behind the surviving entry, so a later browser Back walked off the app.

Replace the eager per-mount push/pop with a single shared popstate handler plus a
coalesced microtask that reconciles history depth to the live overlay count once per tick.
A handoff's -1/+1 nets to zero, so the new modal simply reuses the old entry -- no churn,
no flash, and Back closes the modal in-app.
2026-07-01 14:27:41 +02:00
..
public/welcome improvement(welcome): refresh landing copy + real npeter83 sample screenshots 2026-07-01 12:01:42 +02:00
src fix(modal): stop Release Notes modal flashing shut on modal-to-modal handoff 2026-07-01 14:27:41 +02:00
index.html chore: rebrand Subfeed -> Siftlode 2026-06-14 04:40:22 +02:00
package-lock.json feat(feed): virtualize the feed list and consume the keyset cursor 2026-06-25 19:54:40 +02:00
package.json feat(feed): virtualize the feed list and consume the keyset cursor 2026-06-25 19:54:40 +02:00
postcss.config.js feat: M4 (part 2) — React reader UI with theming 2026-06-11 02:19:47 +02:00
tailwind.config.js feat: M4 (part 2) — React reader UI with theming 2026-06-11 02:19:47 +02:00
tsconfig.json feat: M4 (part 2) — React reader UI with theming 2026-06-11 02:19:47 +02:00
vite.config.ts fix(dev): vite proxy to 127.0.0.1 + throttle error notifications 2026-06-11 22:00:57 +02:00