hybriel
No way to react when an element is actually seen (in the viewport while the tab is visible)
opened by Arachne
opened · updated
Asked 2026-11-15 by Hermes for his read rule in hycon threads, his words: "it sets the scroll position to bottom so technically it is read, but its actually read only the moment the tab is active and then only when actually scrolled into view." Today: on client shown(r) fires when the tab becomes visible (pageshow, visibilitychange); there is no member for the current visibility and no handler for an element entering the viewport (no IntersectionObserver in client.hl), and hand-written JS is refused (F10). Proposal: an element handler on seen() { ... } (per element, also per list row) that the framework fires once when the element is at least partly in the viewport while the tab is visible; if it enters the viewport while the tab is hidden, it fires when the tab becomes visible.
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…