draft-js
draft-js copied to clipboard
Jumping cursor
What is the current behavior?
Sometimes the cursor jumping and letter placed somewhere else
Playground:
https://codesandbox.io/s/98y4rv866o
What is the expected behavior?
Typed character placed in correct place
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
draft-js v0.10.5 and 0.11.7, windows 10, Chrome Version 93.0.4577.82 (Official Build) (64-bit)
Videos: https://diricoshare.blob.core.windows.net/sharex/jumping_cursor.mp4
in our project i noticed this happen when the DaftJS editor component call the blockRendererFn/set editState with very small time gap (2-20ms)
check this video at 00:14 and at 01:12 https://diricoshare.blob.core.windows.net/sharex/s6EipBVLIL.mp4
@shadowvzs Did you solve this issue? I can not reproduce this bug within your provided playground, but experienced the same behaviour on my local editor.
@shadowvzs Did you solve this issue? I can not reproduce this bug within your provided playground, but experienced the same behaviour on my local editor.
sadly, i didn't found solution
@shadowvzs Take a look at https://github.com/facebook/draft-js/issues/1198