wix-incubator / react-native-zss-rich-text-editor

React Native rich text editor based on ZSSRichTextEditor
Other
841 stars 310 forks source link

chrome浏览器上range.insertNode(span) 方法会触发selectionchange事件造成死循环 #97

Open peaktangf opened 6 years ago

peaktangf commented 6 years ago

目前android的某些机型是chrome内核,就会造成range.insertNode(span) 方法会触发selectionchange事件造成死循环,然后就很卡,有没有好的解决方案

arneson commented 5 years ago

⬆️The range.insertNode(span) method on the chrome browser triggers the selectionchange event to cause an infinite loop

arneson commented 5 years ago

@PeakTan This is resolved if you depend on this tag in my fork.

https://github.com/arneson/react-native-zss-rich-text-editor.git#1.1.1