Closed Bug 2084630 Opened 1 month ago Closed 8 days ago

Animate submenu drilling with motion design tokens

Categories

(Firefox :: Menus, enhancement, P2)

enhancement
Points:
5

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: nsharpley, Assigned: nsharpley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-post-nova])

Attachments

(1 external file)

Using the new design tokens in the Nova motion prototype, update the animations for submenu drilling in the toolbar upon navigating from a panel to submenu and vice versa.

Prototype: https://nova-motion-spec.netlify.app/

Depends on: 2083138
Depends on: 2061803
No longer depends on: 2083138
Depends on: 2083138

Replace the slide between a panelview and its subview with a drill: the
subview is stacked on top of the view it was opened from and fades in while
moving into place from the end side, while the view underneath recedes and
dims. Going back plays the motion in reverse.

Add --panel-subview-motion-duration-{enter,exit,parent-exit,fade-reduced} to
the design system and time the animation off those, with the existing
--motion-easing-emphasized on the transforms and --motion-easing-standard on
the opacities.

With prefers-reduced-motion the views no longer hard cut; they cross-fade in
place at --panel-subview-motion-duration-fade-reduced.

Attachment #9672556 - Attachment description: WIP: Bug 2084630 - Animate the submenus of toolbar dropdowns with motion tokens. r=emilio → Bug 2084630 - Animate the submenus of toolbar dropdowns with motion tokens. r=emilio,jules
Depends on: 2089638
See Also: → 2089638
See Also: → 2089742
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0c36d200f768 https://hg.mozilla.org/integration/autoland/rev/98429eb196b3 Animate the submenus of toolbar dropdowns with motion tokens. r=emilio,jules,desktop-theme-reviewers,reusable-components-reviewers
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: