Skip to content

Mouseover popup closes too quickly. #230955

Open
@JesseRussell411

Description

Regarding the popup that comes up when you mouseover an item in the code:

Image

What I propose is that the timeout before it closes is extended the longer the popup is open if the mouse was over the popup.

Imagine trying to pull in the right-hand side of this popup. Trying to move the mouse across it is like tight-rope walking, and if you stray from the popup for more than a second, you have to start over again; and once you reach the end, if you accidentally over-shoot and the mouse falls off the end, you still have to start over again.

Image

If the user didn't mean to open the popup, moving the mouse off without moving it over the popup or within about 1 second of it opening should close it instantly. But if they're trying to resize the popup by carefully moving the mouse over it to the other side (carefully so as not to fall off the popup, thus letting it close), they'll get a longer grace period before the popup closes.

The timeout could be on something akin to a log scale: 1 second open: 0 second timeout; 2 seconds open: 1 second timeout; 5 seconds open: 2 second timeout; 1 minute open: 5 second timeout

This might also be helpful if the popup has to be scrolled so the user doesn't lose their place if they nudge the mouse a bit too far.

Image

And, of course, clicking anywhere outside of the popup should close it instantly, just like how it already does.

Edit: Another instance where this might be helpful is if the popup has items that can be clicked, especially if they're along an edge like the bottom.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

editor-hoverEditor mouse hoverinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions