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

Bug: deleteWordBackward/deleteWordForward getTargetRanges handling of tab whitespace #148

Closed
trueadm opened this issue Mar 2, 2021 · 0 comments · Fixed by #202
Closed

Comments

@trueadm
Copy link
Collaborator

trueadm commented Mar 2, 2021

I believe this is soemwhat related to #66.

When executing a deleteWordBackward and deleteWordForward on text that contains a tab when using getTargetRanges on Chrome (maybe Safari), it removes the tab as part of the word. Our polyfill doesn't do this, which @steveluscher mentioned was the expected behavior.

What do we do with this? If native beforeinput does this in all browsers, then maybe that is the correct thing to do, and we should update our polyfills?

@trueadm trueadm changed the title deleteWordBackward/deleteWordForward bug with tabs Bug: deleteWordBackward/deleteWordForward getTargetRanges handling of tab whitespace Mar 2, 2021
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 a pull request may close this issue.

2 participants