Skip to content

allow default behavior in textareas - #155

Merged
hkdobrev merged 1 commit into
refined-github:masterfrom
kentcdodds:patch-1
Apr 5, 2016
Merged

hkdobrev merged 1 commit into
refined-github:masterfrom
kentcdodds:patch-1

Conversation

@kentcdodds

Copy link
Copy Markdown

I often use the tab key to move on in github forms. I understand the desire to have it indent text, but I'd really like a workaround. I think allowing the user to enter alt + tab to get default behavior is reasonable as long as this doesn't interfere with some other common key binding I'm unfamiliar with. (Totally just tripped up again trying to submit this pull request by hitting tab...)

Definitely open to other ways to enable this...

@kentcdodds

Copy link
Copy Markdown
Author

I should note that submitting is simple enough with ⌘ + enter. It's the other buttons (like Close and comment) that I'd like to navigate to.

@hkdobrev

hkdobrev commented Apr 5, 2016

Copy link
Copy Markdown
Contributor

How does this work with Windows and Alt + Tab window switching there?

@sindresorhus

Copy link
Copy Markdown
Member

Shift+Tab (also what Sublime uses for alternative tab behavior) would probably be safer. This also needs to be documented.

I often use the <kbd>tab</kbd> key to move on in github forms. I understand the desire to have it indent text, but I'd really like a workaround. I think allowing the user to enter <kbd>shift</kbd> + <kbd>tab</kbd> to get default behavior is reasonable as long as this doesn't interfere with some other common key binding I'm unfamiliar with. (Totally just tripped up again trying to submit this pull request by hitting <kbd>tab</kbd>...)
@kentcdodds

Copy link
Copy Markdown
Author

Updated and documented.

@hkdobrev

hkdobrev commented Apr 5, 2016

Copy link
Copy Markdown
Contributor

LGTM

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants