Skip to content

v0.51.1

Choose a tag to compare

@primer primer released this 03 Mar 03:04
· 113 commits to main since this release
27d4a30

Patch Changes

  • #3952 02c89a5 Thanks @copilot-swe-agent! - Performance improvements to ActionBarElement:

    • Replaced the #eachItem / ItemType abstraction with a two-pass read-then-write loop that snapshots all element geometry before mutating the DOM, eliminating forced synchronous reflow.
    • Cached the #menuItems NodeListOf query across each update pass instead of re-querying per item.
    • Simplified #firstItem to a one-liner using Array.find.
    • Coalesces rapid resize/intersection events via requestAnimationFrame so at most one layout pass runs per frame.
    • update() remains the public entry point (coalescing scheduler); actual layout work is in the private #performUpdate().
    • overflow: visible is always applied in connectedCallback (no popover feature-detection gate), preserving the original behavior for CSS/tooltip positioning.
  • #3950 ca926de Thanks @copilot-swe-agent! - Defer --dialog-scrollgutter computation in DialogHelperElement to the moment a dialog is first opened, avoiding a forced synchronous layout reflow during page load.

  • #3955 ed8bf4a Thanks @TylerJDev! - ActionMenu: Add fullscreen option to ActionMenu

  • #3961 16a2d75 Thanks @liuliu-dev! - Tooltip: Fix tooltip overflow on narrow viewports by capping max-width to viewport width.

  • #3957 3baaad2 Thanks @francinelucca! - chore(AutoComplete): fix NoResultItem contrast ratio