-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add a timeout for the in-between-inserter for cases where the onmouseout isn't invoked #35536
Comments
In addition to the timeout, would it make sense to hide the in-between-inserter on any keystroke, and any click not directly on the [+]? |
Good thought, yes. Perhaps also on any hover that is outside the canvas. |
Another way to trigger the lingering inserter:
|
I've been toying around with adding an |
Definitely seems worth trying. The sibling inserter appears so easily now, that I think we can/should be pretty aggressive in dismissing it as well. Focus/click outside would be a good start, but honestly even hover outside should dismiss it, and that's often not the case now. |
The inserter is proving to be fickle. While it might not cover all cases described, this might be a start: #36798 |
The in-between inserter shows up when you hover between two blocks, and disappears when you move the cursor out from that area:
However a number of actions can cause this inserter to linger and stay, presumably because mouse action to fade the inserter out again isn't fired. One easy way to reproduce this is is to use the keyboard shortcut to open the list view, control alt O, while the inserter is present:
Other ways to make the inserter linger is when keyboard shortcuts are used to resize the window, or to invoke the web inspector. It also happens if the viewport resizing gets invoked:
Quite simply, if you move the mouse out from canvas itself fast enough, it will stay around. Occasionally this can cause horizontal or even double scrollbars to appears, as the canvas size is reduced while a stray sibling inserter lingers in the canvas (#30055).
To address this and fade out the sibling inserter in these cases, can we add a timeout that checks if the mouse is over the sibling inserter, and fade it out if not? Are there other solutions?
The text was updated successfully, but these errors were encountered: