[csswg-drafts] [css-view-transitions-2] Figure out a way to make hit-testing work on live (new) elements during a view transition (#10930)

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

== [css-view-transitions-2] Figure out a way to make hit-testing work on live (new) elements during a view transition ==
When a view transition is ongoing, the new element is not rendered in its place, but its rendered image is projected into the `::view-transition-new` pseudo-element.
However, this is uni-directional: hit testing on the pseudo element is not forwarded to the actual element, and the originating element itself is treated as invisible (same as `visibility: hidden` or `pointer-events: none`).

Forwarding the events by default might be confusing, as the coordinates of the original event will not always match the coordinates of the element, e.g. in the case where the `::view-transition-group` animation is overridden.

But perhaps there was a way to automatically forward these events, displaying both the original and the mapped coordinates?

@vmpstr @khushalsagar @nt1m 




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


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

Received on Friday, 20 September 2024 16:30:00 UTC