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

Ios keyboard #3310

Merged
merged 9 commits into from
Jun 16, 2017
Merged

Ios keyboard #3310

merged 9 commits into from
Jun 16, 2017

Conversation

nightwing
Copy link
Member

@lennartcl this is the rebased version of https://github.com/ajaxorg/ace/pull/3172、i've kept ios textinput in a separate file for now, since textinput already has too many code paths

Copy link
Contributor

@lennartcl lennartcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you reviewed and refactored this already; nicely done. Only minor comments, please have a look and merge.

}
event.addListener(text, "compositionend", onCompositionEnd);

this.getElement = function() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this entire block: could you reorder the code a bit so we don't interleave function and member declarations and initialization code too much?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'll do this when refactoring textinput.js, i want to keep these files in sync to be able to easily merge them in the future.

}, 100);
});

// IOS doesn't fire events for arrow keys, but this unique hack changes everything!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds like clickbait :D

@lennartcl
Copy link
Contributor

@nightwing also please make sure to update #3172 if this is merged

@nightwing nightwing merged commit 8c9bf32 into master Jun 16, 2017
@nightwing nightwing deleted the ios-keyboard branch June 16, 2017 14:14
@etamponi etamponi mentioned this pull request Jun 17, 2017
@jrk jrk mentioned this pull request Jul 8, 2017
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.

4 participants