Bevy version and features
Bevy 0.19.0
What you did
I have some UI code that has hoverable buttons inside a scrollable container. There's a button above the scrollable area that overlaps with the (clipped) button.
What went wrong
In 0.18, hovering over the intersecting region sends the hover event to the button outside the scrolled region, rather than the clipped button within the region. After updating to Bevy 0.19, the clipped button is focused even when the cursor is clearly outside of the scroll region.
Additional information
I've created a repository at https://github.com/matt-cornell/bevy-019-hover-bug that reproduces the bug.
Bevy version and features
Bevy 0.19.0
What you did
I have some UI code that has hoverable buttons inside a scrollable container. There's a button above the scrollable area that overlaps with the (clipped) button.
What went wrong
In 0.18, hovering over the intersecting region sends the hover event to the button outside the scrolled region, rather than the clipped button within the region. After updating to Bevy 0.19, the clipped button is focused even when the cursor is clearly outside of the scroll region.
Additional information
I've created a repository at https://github.com/matt-cornell/bevy-019-hover-bug that reproduces the bug.