Re: [csswg-drafts] [css-view-transitions-1] The ability for authors to re-enable pointer events (#11596)

Hey sorry I should have mentioned that I have already applied both
```css
::view-transition {
  pointer-events: none;
}
```

and

```css
:root {
  view-transition-name: none;
}
```

But in this case two buttons are animating and one finishes sooner than the other, unnecessarily keeping one of them unresponsive. So I can't really use these fixes here.

So what I'm asking here is for a way to individually control when each group's pseudo elements get removed and elements in the real dom become visible again.

> You can’t undo this unresponsiveness on the groups and for good reasons:
>
> - The location on screen does not match the actual element’s location
> - What should be done when two different elements are transitioning from the one to the other: you could see the old one screen but then clicks would have to go to the new one?

I don't think these are an issue here. Since for this use case the animation of the individual group is already done, so swapping it out for the real dom prematurely shouldn't require any complex hit testing.

-- 
GitHub Notification of comment by jespertheend
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11596#issuecomment-2622771501 using your GitHub account


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

Received on Wednesday, 29 January 2025 20:27:11 UTC