Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to the interaction between scrolling and pop-ups #4781

Closed
teh-cmc opened this issue Jul 4, 2024 · 0 comments · Fixed by #4784
Closed

Improvements to the interaction between scrolling and pop-ups #4781

teh-cmc opened this issue Jul 4, 2024 · 0 comments · Fixed by #4784
Labels
design Some architectual design work needed egui rerun Desired for Rerun.io

Comments

@teh-cmc
Copy link
Collaborator

teh-cmc commented Jul 4, 2024

Say you have a list of items you want to scroll through, and each one of these items is configured to open a pop-up on hover.

It is very easy to inadvertently trigger one of these pop-ups as the mouse hovers over each item as the list is scrolling, at which point this pop-up will steal the focus from the mouse cursor and interrupt your scroll midway through, which is really not a great experience.

I would like some way of making scrolling and pop-ups interact in a friendlier way.

@abey79 proposed:

One avenue would be to have any scrolling action resets the tooltip timer, eg.the mouse must be (near)still AND no scrollarea should move for xxx ms.

Sounds good to me.

@teh-cmc teh-cmc added design Some architectual design work needed egui rerun Desired for Rerun.io labels Jul 4, 2024
@emilk emilk added this to the Next Patch Release milestone Jul 4, 2024
@emilk emilk closed this as completed in 977d83a Jul 5, 2024
hacknus pushed a commit to hacknus/egui that referenced this issue Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Some architectual design work needed egui rerun Desired for Rerun.io
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants