Skip to content

default "space" when no selection so autocorrect works on Mobile Safa...#96

Open
jamienk wants to merge 1 commit intonytimes:masterfrom
jamienk:patch-2
Open

default "space" when no selection so autocorrect works on Mobile Safa...#96
jamienk wants to merge 1 commit intonytimes:masterfrom
jamienk:patch-2

Conversation

@jamienk
Copy link
Copy Markdown

@jamienk jamienk commented Dec 16, 2013

...ri

If no range is selected when the user hits "space" -- and hence is not "overwriting" a selection -- then we should allow the "space" to pass through as default rather than inserting '\u00A0'. Allowing the space to be treated default makes auto-correct continue to work on (at least) iPhones, where the "space" event is what triggers auto-correct, auto-complete, auto-capitalization, 2 spaces marking the end of a sentence, etc. Otherwise, auto-correct breaks.

…afari

If no range is selected when the user hits "space" -- and hence is not "overwriting" a selection -- then we should allow the "space" to pass through as default rather than inserting '\u00A0'. Allowing the space to be treated default makes auto-correct continue to work on (at least) iPhones, where the "space" event is what triggers auto-correct, auto-complete, auto-capitalization, 2 spaces marking the end of a sentence, etc. Otherwise, auto-correct breaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant