I'm creating an online editor that uses a contenteditable component (I'm using the — excellent! — SlateJS React-based editor).
When re-frame's database is updated (using dispatch or dispatch-sync) while the cursor is within the contenteditable component, the focus is lost. Moreover, on programmatically re-focusing the component, the position of the cursor is lost...
I'm creating an online editor that uses a contenteditable component (I'm using the — excellent! — SlateJS React-based editor).
When re-frame's database is updated (using dispatch or dispatch-sync) while the cursor is within the contenteditable component, the focus is lost. Moreover, on programmatically re-focusing the component, the position of the cursor is lost...
This problem does not occur with mere Reagent.