-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Zoom Out: Try click to disengage #62699
Conversation
Size Change: +9 B (0%) Total Size: 1.76 MB
ℹ️ View Unchanged
|
Good instincts. I think the biggest headache right now is exactly that it's a bit far from both the cursor, and where focus is, how to close/exit the inserter in zoom mode. Here's trunk: Note here that at one point I'm pressing Esc with the intent to close the inserter. That does appear to toggle off zoom out mode, but it doesn't close my patterns, or the inserter. Here's this branch: This branch does the same, except as the description notes, click twice on a block and it disengages zoom out mode. The problem in both cases is that the inserter remains open. Perhaps that's me personally, but that feels like the biggest headache to solve; can the inserter fully close when I press Esc? Clicking twice can do the same, that seems reasonable. My instinct also goes towards clicking anywhere in the gray gutter should close the inserter—the action I'm doing there is one of intentionally setting focus there by clicking. The main risk here is the vertical toolbar we want to show in this mode, we wouldn't want you to accidentally close the inserter, and thus zoom out mode, if you miss one of those buttons. |
Did a quick test on this and found some oddities, namely trying to double click to get out and clicking in the template editing area, getting a notice. Along with this, when double clicking to get out, it's a bit odd where the Inserter with the patterns over top of it covers the editing experience: double.click.mov |
@scruffian We solved in #64573 right? Can we close? |
I think we can close, but also exploring something similar in #65286. |
What?
This is just an experiment to see how it feels to use click to disengage zoom out.
The way it works is that it listens to clicks on a block. If you click the same block more than once in succession then zoom out mode is disengaged.
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast