Skip to content

Commit

Permalink
chore: fix JSONEditorModal closing when clicking ESC when editing a v…
Browse files Browse the repository at this point in the history
…alue
  • Loading branch information
josdejong committed Jul 15, 2024
1 parent 8604049 commit e90390d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/components/modals/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
bind:this={dialog}
on:close={close}
on:click|self={close}
on:cancel|preventDefault
use:onEscape={close}
class={classnames('jse-modal', className)}
class:jse-fullscreen={fullscreen}
Expand Down

0 comments on commit e90390d

Please sign in to comment.