v0.51.1
Patch Changes
-
#3952
02c89a5Thanks @copilot-swe-agent! - Performance improvements toActionBarElement:- Replaced the
#eachItem/ItemTypeabstraction with a two-pass read-then-write loop that snapshots all element geometry before mutating the DOM, eliminating forced synchronous reflow. - Cached the
#menuItemsNodeListOfquery across each update pass instead of re-querying per item. - Simplified
#firstItemto a one-liner usingArray.find. - Coalesces rapid resize/intersection events via
requestAnimationFrameso 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: visibleis always applied inconnectedCallback(no popover feature-detection gate), preserving the original behavior for CSS/tooltip positioning.
- Replaced the
-
#3950
ca926deThanks @copilot-swe-agent! - Defer--dialog-scrollguttercomputation inDialogHelperElementto the moment a dialog is first opened, avoiding a forced synchronous layout reflow during page load. -
#3955
ed8bf4aThanks @TylerJDev! - ActionMenu: Add fullscreen option to ActionMenu -
#3961
16a2d75Thanks @liuliu-dev! - Tooltip: Fix tooltip overflow on narrow viewports by capping max-width to viewport width. -
#3957
3baaad2Thanks @francinelucca! - chore(AutoComplete): fix NoResultItem contrast ratio