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
Hey Luke
I'm not sure whether this is an "issue" or not with this library, but this was the best place I could find to bring this up.
We're using this library as a compliment to the TinyMCE WYSIWYG editor and I'm finding a problem. It's that, on autosave, the cursor jumps to the beginning of the editor. So, you can imagine that it's really frustrating for our users who are typing, then get an autosave, then have their cursor jump to the beginning of what they were writing.
Have you experienced this kind of behavior when using the library? Do you reckon this is an issue that could be improved in the library--maybe as a feature / prop--or something that should be handled in our App instead? I can't really think of a way where we would keep the cursor position in state or anything like that in our App.
Basically, the autosave causes the React component to re-render I reckon, which then causes the cursor to jump back to the default position.
Kind regards,
Davis
The text was updated successfully, but these errors were encountered:
Just saw this. The issue is most likely due to the editor re-rendering and losing selection. If you can track down what is causing the re-render then I can help.
Hey Luke
I'm not sure whether this is an "issue" or not with this library, but this was the best place I could find to bring this up.
We're using this library as a compliment to the TinyMCE WYSIWYG editor and I'm finding a problem. It's that, on autosave, the cursor jumps to the beginning of the editor. So, you can imagine that it's really frustrating for our users who are typing, then get an autosave, then have their cursor jump to the beginning of what they were writing.
Have you experienced this kind of behavior when using the library? Do you reckon this is an issue that could be improved in the library--maybe as a feature / prop--or something that should be handled in our App instead? I can't really think of a way where we would keep the cursor position in state or anything like that in our App.
Basically, the autosave causes the React component to re-render I reckon, which then causes the cursor to jump back to the default position.
Kind regards,
Davis
The text was updated successfully, but these errors were encountered: