79415740

Date: 2025-02-05 18:05:54
Score: 3
Natty:
Report link

With some pointers from @Yogi I got a working solution.

issue 1: no events fired in js - only happens when caret is placed before "space" -> always set caret position to end of element

issue 2: key=229 is returned in keydown -> handle it the same as backspace and reset the inputs content to " " in onkeyup

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Yogi
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Maze