svelte-todomvc
svelte-todomvc copied to clipboard
Cancelling Edit throws exception
- on blur is tied to submit
- cancelling edit removes the input element which fires blur before getting removed
- 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.