[csswg-drafts] [css-shared-element-transitions-1] User input should be ignored when rendering is suppressed. (#7797)

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

== [css-shared-element-transitions-1] User input should be ignored when rendering is suppressed. ==
#7784 details how rendering should be suppressed during a transition. We also need to ignore user input (irrespective of how rendering is suppressed) in this state. That's because the visual state of the Document displayed to the user doesn't align with the DOM state.

Note that the user agent may need to dispatch synthetic events to ensure the input stream observed by the developer makes sense. For instance, the user puts their finger down when rendering is suppressed which causes a [touchstart](https://w3c.github.io/touch-events/#event-touchstart) event. If rendering is unsuppressed while the user finger is still down script would directly see a [touchmove](https://w3c.github.io/touch-events/#event-touchmove) event. It makes sense to dispatch a synthetic touchstart event in this case. But this detail can be left up to the user agent.

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


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

Received on Monday, 26 September 2022 22:57:54 UTC