Keeping The Page Interactive While A View Transition Is Running | CSS-Tricks
Briefly

View Transitions can render a page unresponsive to clicks as animations cover the original document with pseudo-elements capturing all user interactions. By applying the 'pointer-events: none' property to the ::view-transition, developers can ensure that interactions can still occur beneath the overlay. Additionally, removing the :root element from the transition helps in managing DOM behaviors, ensuring content is displayed correctly without hindering user experience. This knowledge is essential for maintaining interactivity during transitions.
When using View Transitions, clicks are captured by a pseudo element, making the page unresponsive unless pointer-events property is adjusted.
Applying pointer-events: none to ::view-transition allows clicks to penetrate the pseudo-element, keeping the page interactive during transitions.
Removing :root from the view transition ensures that its image is painted in the pseudo-element, preventing it from capturing clicks.
Understanding how snapshot images interact with the DOM during View Transitions is crucial to maintaining UI interactivity.
Read at CSS-Tricks
[
|
]