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 for #80 #92

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

Fix for #80 #92

wants to merge 2 commits into from

Conversation

lukewhyte
Copy link

Checking for selectionStart throws an error in both Chrome and FF. Switched to using a try/catch to handle the conditional safely.

@lukewhyte
Copy link
Author

I've narrowed the scope of which inputs syn.typeable considers 'typeable'. This partially solves our issue. However, input[type=number] & input[type=email] still present a concern (as they don't support selectionStart) but should be selectable. I'm using a try/catch to handle that problem. @justinbmeyer: Let me know if you've got time to look this over at some point.

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