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

Fix issue where tapping backspace to delete a single letter also selects the previous token #43

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

joeldrotleff
Copy link

@joeldrotleff joeldrotleff commented Nov 8, 2016

This is a fix for an issue I noticed on iOS 10. I have not tested it for iOS 9 or 8.

@joeldrotleff
Copy link
Author

Tested and looks good on iOS 9

@rsattar
Copy link
Owner

rsattar commented Nov 21, 2016

Thank Joel!

Almost everything works here. The only issue I'm seeing is that, at least on iOS 8, you can no longer invoke delete on an empty text field to highlight the previous token (like you can in the system picker on iOS).

Looking into whether I can tweak your changes to make that work. I understand that iOS 8 is likely in low usage now, but I'd like to keep support for it, if possible.

@joeldrotleff
Copy link
Author

@rsattar Ok deleting definitely works in iOS 10, pretty sure also in iOS 9. For my company, iOS 8 usage is down to a bit over 1% so I'm realistically not going to fix it - but I suspect conditionally going back to the previous behavior would fix the delete issue.

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.

3 participants