command icon indicating copy to clipboard operation
command copied to clipboard

Slashes randomly inserted on Canvas (usecanvas.com)

Open keysmashes opened this issue 9 years ago • 2 comments

To reproduce:

  1. Create a new Canvas
  2. Type a slash, then any other character
  3. Observe the extra slash placed after the cursor (also that it can't be deleted by pressing delete or backspace)
  4. Attempt to delete the letter (delete produces pessimal results, backspace just inserts slashes)
  5. Observe that extra slashes and letters are added after the cursor

The only way to recover from this is by selecting all text containing a slash (either with the mouse or the home/end buttons) and deleting it, as all attempts to use backspace/delete without text selected simply cause the characters to reproduce.

keysmashes avatar Apr 11 '16 21:04 keysmashes

More details: Canvas uses a ContentEditable div instead of a textarea or similar. Will that make this impossible to fix, given how broken ContentEditable is?

keysmashes avatar Apr 13 '16 19:04 keysmashes

It should be fixable — Gmail uses contenteditables and I've been able to make it work there!

jessepollak avatar Apr 25 '16 01:04 jessepollak