Skip to content

Unexpected selection behaviour in Panels example #7766

@treejadey

Description

@treejadey

Describe the bug

In the Panels example on https://egui.rs, I noticed, that if you start selecting from the bottom right, and then move the cursor to top left, it selects the text in a really interesting manner.

To Reproduce
Steps to reproduce the behavior:

zen_4E7tmKWgDU.mp4

Expected behavior

I'm not sure what the behaviour should be for a case like this, but what I COULD expect, is that if I moved from one panel to another, then it would stop selecting the text on the previous panel, and instead start selecting on the panel it is now on.

Desktop (please complete the following information):

  • OS: Windows 10 LTSC
  • Browser: Firefox 145.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions