Closed Prinzhorn closed 2 years ago
Not sure... Do you have some idea what would be the consequence if that is removed?
Do you have some idea what would be the consequence if that is removed?
In contrast to preventDefault
this only affects other listeners for the same event and none of the browser stuff. And you only have a single on:keydown
, so it won't make any difference. It shouldn't affect on:keypress
at all either.
Okay, I'll remove it in the next version.
Removed in version 2.2.4.
Do you remember why you added this in the first commit https://github.com/pstanoev/simple-svelte-autocomplete/blame/master/src/SimpleAutocomplete.svelte#L738 ? I'm relying on events bubbling up.