Open
Description
The [stack]
or [drawer]
attributes are eagerly removed when closing details, making the view-transition incorrect when closing.
The view-transition image pair is taken after those attributes are removed, which results in the wrong animations and animation styles getting applied when transitioning back from an opened detail to a closed detail. This is apparent with the stack mode when using the view transitions in #9665
When using stackOverlay=true
(notice how the master content is not clipped when transitioning back):
Screen.Recording.2025-07-09.at.12.54.00.mov
When using stackOverlay=true
and forceOverlay=true
, then the animation works as expected: