fix(webui): anchor floating surface animations (#6722)
* fix(webui): anchor floating surface animations * test(webui): assert the dispatched file menu click coordinate
This commit is contained in:
1 parent
eb82ab84cc
commit
32bba3a16c
7 files changed
+80
-4
No files matched your search
+1
-1
@@ -62,7 +62,7 @@ Prompt navigation keeps a three-page raw window. Fragmented turns also retain th
|
||||
|
||||
The application theme remains the single owner for paired day/night artwork. The Sidebar keeps the original daytime mark and uses a sleeping-cap variant in dark mode; the Star invitation pairs matching day/night illustrations. Both layers reserve the same geometry. `.theme-art` blends opacity for System changes and browsers without native snapshots; a native root View Transition owns the whole-frame fade instead. Reduced motion switches artwork directly. Entry and conversation surfaces keep their normal theme colors without decorative ambient glow.
|
||||
|
||||
Dropdowns and popovers use Radix's resolved transform origin and side, so motion stays attached to the trigger after collision handling. Radix owns their presence and focus. `SidebarPanel` retains its content until the slot and surface finish their actual exit animations, ignores descendant activity, and cancels teardown when reopened. Closing content is inert and hidden from assistive navigation; callers still own focus restoration. Disclosures keep their existing in-flow height transition and draft retention.
|
||||
Dropdowns, popovers, and tooltips use Radix's resolved transform origin so scaling stays on the trigger-facing edge after collision handling. The file context menu uses the pointer location or the focused file as its anchor. Surfaces with slide motion use the resolved side. Radix owns their presence and focus. `SidebarPanel` retains its content until the slot and surface finish their actual exit animations, ignores descendant activity, and cancels teardown when reopened. Closing content is inert and hidden from assistive navigation; callers still own focus restoration. Disclosures keep their existing in-flow height transition and draft retention.
|
||||
|
||||
## Typography
|
||||
|
||||
|
||||
Reference in new issue
Block a user