Skip to content

UI picking regression: doesn't correctly work when overflow: scroll clipped text content is on top of other content #22507

@PPakalns

Description

@PPakalns

Bevy version and features

bevy 0.18.0 (ui, picking)

What you did

Tried to use scrollareas that contain text.

See attached video:

picking_issue-2026-01-14_15.36.10.mov

What went wrong

Scrolled scrollarea clipped content interferes with original content in bevy_picking logic.

Additional information

Theory: This may be caused by the new text picking behaviour. Because, as shown in video, when cursor sometimes moves between text lines, it shines through to lower elements in "picking".

For reproduction: bevy_immediate demo contains these scrollareas. They are implemented using plain bevy_ui logic and behaviour should be reproducable in bevy scrollbar examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-TextRendering and layout for charactersA-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions