svelte-todomvc icon indicating copy to clipboard operation
svelte-todomvc copied to clipboard

Cancelling Edit throws exception

Open snuup opened this issue 1 year ago • 0 comments

  1. on blur is tied to submit
  2. cancelling edit removes the input element which fires blur before getting removed
  3. this blur event calls submit, but the element for editing is not there anymore

this is a nasty thing, i try to handle elegantly in another framework. faced the very same problem.

snuup avatar Jan 12 '24 21:01 snuup