[csswg-drafts] [css-view-transitions-1] UA CSS adds `pointer-events: none` to view-transition (#8278)

khushalsagar has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-1] UA CSS adds `pointer-events: none` to view-transition ==
Related to the discussion in #7797.

[`::view-transition`](https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition) pseudo-element is created for all transitions and sized to the snapshot viewport. This means all user input will resolve to the document element by default (since it will hit this pseudo-element). This doesn't make sense for cases where the root element is not participating in the transition.

UA CSS should add `pointer-events: none` to this element to prevent it from participating in hit-testing.

Note: This issue is about the default behaviour. Developer CSS can toggle the value of `pointer-events`.

@jakearchibald

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8278 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 3 January 2023 21:37:25 UTC