Open
Bug 1908291
Opened 1 year ago
Updated 1 year ago
CSS @starting-style not working when removing/hiding elements
Categories
(Core :: CSS Transitions and Animations, defect)
Tracking
()
NEW
People
(Reporter: harald, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:129.0) Gecko/20100101 Firefox/129.0
Steps to reproduce:
Open Codepen from Adam Argyle https://codepen.io/argyleink/pen/qBGOamz
Click on "Remove" button.
Actual results:
Elements are hidden without any animation.
Expected results:
Elements should animate opacity and scale before being hidden.
Comment 2•1 year ago
|
||
Boris, could you take a look?
Looks like this is due to the lack of transition-behavior: allow-discrete.
Comment 4•1 year ago
|
||
I suspect this may be related to the animation of display. In the test case, it relies on the discrete transition of display property. However, Gecko doesn't support the animation/transition of display property (Bug 1834877).
Comment 5•1 year ago
|
||
We can revisit this bug after we fixed Bug 1834877.
You need to log in
before you can comment on or make changes to this bug.
Description
•