Html – Official example Svelte modal component is not closing from parent component in SvelteKit project
I have added Modal to my Sveltekit Application from official example given at https://svelte.dev/examples/modal My Modal.svelte is <script> export let showModal; // boolean let dialog; // HTMLDialogElement $: if (dialog && showModal) dialog.showModal(); </script> <!-- svelte-ignore a11y-click-events-have-key-events a11y-no-noninteractive-element-interactions --> <dialog…