OpenVibe.Shared releases

Release 4.347.0

28 Nov 2026 · pinned package [email protected]

4.347.0

  • The navbar's first render reads no layout (navbar.js). The bar's at-the-top check (scrollY, its computed position, its height) and the first field-ring scan (every field's box) ran while a page was still being built, so each forced a layout of the whole page that the next frame did again. They run in the next frame now, reads before writes, ahead of its paint: a first bar starts at the top (a page being built has not scrolled), a re-rendered one carries the old one's state. A live channel on a phone at 4x CPU: the navbar's task 275 -> 166 ms of CPU, style over the load ~3.0 -> 2.7 s. Test: navbar-first-frame-chrome.
  • Page state as classes on html, not :has() on html (appbar.js, navbar.js, kit.css). The app bar stepping aside for the keyboard was html.ov-has-appbar:has(… :focus) and the kit's sticky offset was html:has(.openvibe-navbar.ovnav-hide): each restyle of html re-read the whole page for them, the two costliest selectors of a Live channel's load (~90 ms unthrottled, by Chrome's selector stats). Now html.ov-typing (focusin and focusout; a field removed while focused is let go at the next press) and html.ov-nav-hidden (navbar.js keeps it with the bar's ovnav-hide). A site's own rule on the old :has() keeps working; the classes are cheaper. Tests: appbar-typing-chrome, navbar-first-frame-chrome, kit-top-navbar-chrome.

PagesThe navbarThe kitFormsRules

Rules31 One navbar per page, owned by the shared Frame.20 Status is a word, never colour alone.

All releases