From 1fe19578c2de11c97cff9773ea9b57341e6a2f16 Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Wed, 10 Jun 2026 16:28:34 -0500 Subject: [PATCH] change anchor method This updates the position try results by using a different method of setting the area of the anchored element. Rather than using the inset properties with `anchor()`, it uses `position-area`. --- client/components/dropdown/dropdown.less | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/client/components/dropdown/dropdown.less b/client/components/dropdown/dropdown.less index d46369699..f5cb17682 100644 --- a/client/components/dropdown/dropdown.less +++ b/client/components/dropdown/dropdown.less @@ -6,18 +6,16 @@ } .menu-list { - position : fixed; + position : absolute; z-index : 1000; - inset-block-start: anchor(bottom); - inset-inline-start: anchor(left); - position-try: flip-inline; + position-area : block-end span-inline-end; + position-try: flip-inline flip-block; color: inherit; // [popover] gets a `canvastext` color value from useragent. > .menu-wrapper { position:relative; > .menu-list { margin: 0 0px; - inset-block-start: anchor(top); - inset-inline-start: anchor(right); + position-area: inline-end span-block-end; position-try: flip-inline; } }