Do you want to request a feature or report a bug?
bug
What is the current behavior?
Using Windows 10's swipe keyboardin Edge can corrupt editorstate. Console log display: "Unable to get property 'replaceChild' of undefined or null reference'.
Note:
This only happens if you use the swipe feature at the beginning of a new line.
*If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. *
Can be reproduced on draftjs.org or https://jsfiddle.net/stopachka/m6z0xn4r/.
Steps:
This is a demo of the steps: https://twitter.com/DevYuze/status/1034207906206429184
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Edge with Windows 10 Swipe keyboard. Doesn't work in previous version of Draftjs.
We have a fix in https://github.com/twitter-forks/draft-js/pull/8 --- going to post a pull request here soon.
Most helpful comment
We have a fix in https://github.com/twitter-forks/draft-js/pull/8 --- going to post a pull request here soon.