Open Bug 1912426 Opened 5 months ago Updated 16 days ago

Popovers with @starting-style and transition-behavior: discrete do not have exit animations

Categories

(Core :: CSS Transitions and Animations, defect)

Firefox 130
defect

Tracking

()

People

(Reporter: er.yd37, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Steps to reproduce:

  1. Visited the mdn page about @starting-style and scrolled down to the examples showing animation of a popover: https://developer.mozilla.org/en-US/docs/Web/CSS/@starting-style#animating_a_popover
  2. Clicked to show, and then hide the popover

Reproduced in Firefox 129.0 and Firefox Developer Edition 130.0b2

Actual results:

The popover animates when appearing, but when disappearing, it just blinks away. The backdrop is not animated at all.

Expected results:

The popover and its backdrop should animate both when appearing, and when disappearing. Open the mdn page in Chrome to see how it animates.

Blocks: popover
Status: UNCONFIRMED → NEW
Ever confirmed: true

Boris I think this is known (about animating display discretely right?)

Flags: needinfo?(boris.chiou)

Yes. In this case, when changing the display property to none, we destroy all animations/transitions immediately because we don't support discrete animation on display property (i.e. it changes to none immediately).

Depends on: 1834877
Flags: needinfo?(boris.chiou)
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: