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

Auto-focusing #25

Closed
ghost opened this issue Oct 4, 2014 · 4 comments
Closed

Auto-focusing #25

ghost opened this issue Oct 4, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2014

From stefdawson on July 28, 2009 13:10:59

Since jQuery is now a stock component of TXP, auto-focusing the cursor on
the login page ought to be easy. I suggest:

  1. If the login Name box is empty, focus there
  2. If the Name contains some text, focus in the password box

Alternatively, a simple one-liner to autofocus in the Name box would be
fine. Not everybody chooses to 'remember' their login info... :-)

This could of course be extended to the Write tab to autofocus in the Title
field, or the Forms tab to autofocus in the form textarea, etc.

Original issue: http://code.google.com/p/textpattern/issues/detail?id=21

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From j...@beardedbaby.net on July 28, 2009 16:26:25

This would be great. My only caution would be not to break the user's TAB key: When the focus of a field
changes automatically, I sometimes skip the field by tabbing to the next field.

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From ph.witte...@gmail.com on October 31, 2009 22:53:31

  1. On the login page: make sure you're not blowing away autofilled login/password
    (esp on OS X with Keychain capable browsers). On the login page,the 'name' field is
    first in the tab-loop anyway - tabindex="1".
  2. setting the focus on other pages/panes is imho a bad idea. If you really have the
    urge to go that way, make it user configurable.

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From stefdawson on November 01, 2009 06:49:22

  1. How would one blow away any info in the boxes by adding a jQuery .focus() call?
    Sorry, I don't follow. Tabbing through boxes doesn't delete info in boxes... or does
    it do that on OSX?
  2. No intention of doing it anywhere else. Not even sure it's a good idea on the
    login page, it was just an idea. Since almost nobody's commented I guess almost
    nobody cares, so we might as well leave it as it is. It was only triggered by the
    fact I'd used Basecamp recently and found it pleasing to be presented with the cursor
    already flashing in the username box instead of me having to tab to it.

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From stefdawson on September 23, 2010 06:33:19

a) can't be arsed
b) few people seem to care

(not necessarily in that order)

Status: WontFix

@ghost ghost closed this as completed Oct 4, 2014
makss added a commit that referenced this issue Nov 4, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants