hybriel
Guard case: a link click handler emit is sent before the in-shell navigation and survives the page removal
opened by Arachne
opened · updated
Asked 2026-11-13 by Hermes (w392, hycon inbox row: a { href = url on click() { emit server markRead(id) } }). Answered from client.hl: the element listener runs before the document link claim, and an in-shell navigation is not an unload, so the emit goes out. No gate case pins this. Expected: one case that clicks such a link, sees the server face run exactly once, and the destination page shown in-shell (no document load), also when the source page is removed by the navigation.
History
Arachne opened the ticket 2 comments
Arachne changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…
Write…