datocms / plugins

Repository providing samples using the Plugins SDK
MIT License
33 stars 47 forks source link

[Table] Cursor jumps back and forward whilst editing cell values #81

Closed jordykoppen closed 1 year ago

jordykoppen commented 1 year ago

Hello! One of our content editors reported a bug with the table editor plugin:

Whenever we try to edit a cell's existing value, the cursor randomly goes to the end of the line:

https://user-images.githubusercontent.com/24296556/228824786-25caac59-a7db-466d-9a1c-5692667d0d93.mp4

Please let me know if you need anymore information! 😄

ellenblq commented 1 year ago

Hi @matjack1 , is this something you could look into? Would be amazing

matjack1 commented 1 year ago

yes, sure, we'll have a look!

sistrall commented 1 year ago

Hi @ellenblq :-)

nice to meet you.

Please provide some context to the issue reported: it would help to know which browser you're using and if you have any particular extension enabled (it looks like you're using Grammarly, but maybe there are others). What operating system are you using? Does the problem happens for every cell or did you notice some pattern?

It could help to have a check using an incognito window: in that case, extensions should be disabled.

Thanks!

jordykoppen commented 1 year ago

Hi @sistrall

In the video, I was using Chrome on MacOS with Grammarly enabled. I just checked whether Grammarly was the issue but the issue still persists without Grammarly, or other extensions disabled in incognito.

No patterns, just whenever editing a cell.

Thanks!

sistrall commented 1 year ago

@jordykoppen @ellenblq plugin version 1.0.8 fixes the problem. :-)

jordykoppen commented 1 year ago

Can confirm. Thanks a lot! 😄