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

Editor: Intercept clicks in the white just outside the textarea #1265

Closed
jasmussen opened this issue Dec 4, 2015 · 2 comments
Closed

Editor: Intercept clicks in the white just outside the textarea #1265

jasmussen opened this issue Dec 4, 2015 · 2 comments
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Comments

@jasmussen
Copy link
Member

I find that when an editor textarea doesn’t have visually explicit borders, I’m always ever so slightly confused where I can click to set focus on the textarea. My brain tells me it’s the whole white area extending to where the first borders appear, but in practice it’s just a column in the middle. In the end I have to hunt with my mouse cursor until it becomes a text caret cursor.

It would be nice if we could intercept clicks on any part of the larger extended white area around the textarea, and use those to set focus actual textarea. It would be a tiny usability boost that would make it just a millisecond easier to get started typing.

To clarify: I wish the red areas in this mockup were clickable, and set focus on the green area:

clickable

@jasmussen jasmussen added the [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it label Dec 4, 2015
@folletto folletto added the [Feature] Post/Page Editor The editor for editing posts and pages. label Dec 4, 2015
@timmyc
Copy link
Contributor

timmyc commented Dec 14, 2015

I poked around a bit at this issue and in-lieu of fixing currently I think it might best be tackled with the move to app-style in the editor. The current red space above is the 48px padding applied to the .editor wrapper. So if we add a click listener on that container, it would also pick up clicks in the white space around the title area too.

Somewhat related to this - being able to unfocus tinymce by clicking on whitespace in the header area would fix a host of issues on mobile safari.

@brbrr
Copy link
Contributor

brbrr commented Dec 21, 2017

This already fixed.

#bug-scrub #pre-gutenburg-bug-purge

@brbrr brbrr closed this as completed Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

No branches or pull requests

4 participants