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

A simple, flexible, zero-dependency modal stack manager for Svelte.

Results 11 svelte-modals issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** Consider a confirmation dialog. A user gets a message "Are you sure?" and clicks yes or no. Currently you'd have...

My eslint getting error: Unable to resolve path to module 'svelte-modals'.eslintimport/no-unresolved The funny thing that it still works correctly "svelte": "^4.2.0", "svelte-modals": "^1.3.0",

bug

I think adding a close handler to `openModal` fn could make the componet very flexible. Imagine a scenario like this: ```ts const confirmModal = ({question}) => new Promise(resolve => openModal(ConfirmModal,...

Previously if I wanted to stack modals, the backdrop would always be behind the first modal. Now it behaves properly if `isOpen` is not used. Behavior does not change when...

**Describe the bug** A clear and concise description of what the bug is. When opening a modal over another modal, the previous modal gets recreated even though the only change...

bug

Hi! Thanks for a great package. I have an issue though with it that i can't resolve on my own apparently. Currently all the examples cover providing a custom modal...

Is it possible to dispatch events from a modal back to the component that called openModal()? For example: ``` const handleClick = () => { openModal(ListingModal, on:eventDisaptch={handleEvent}); }; ```

if multiple modals are closed, `onBeforeClose` is not considered for each modal. they should be.

bug

**Is your feature request related to a problem? Please describe.** I went over the docs several times and I could not find an example showcasing how to pass event/object from...