You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
trueadm
changed the title
deleteWordBackward/deleteWordForward bug with tabs
Bug: deleteWordBackward/deleteWordForward getTargetRanges handling of tab whitespace
Mar 2, 2021
I believe this is soemwhat related to #66.
When executing a
deleteWordBackward
anddeleteWordForward
on text that contains a tab when usinggetTargetRanges
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?
The text was updated successfully, but these errors were encountered: