carbon-components-svelte icon indicating copy to clipboard operation
carbon-components-svelte copied to clipboard

What's the difference between Modal and ComposedModal?

Open Florian-Schoenherr opened this issue 3 years ago • 2 comments

ComposedModal also doesn't work in svelte-kit, possibly because of onDestroy using document?

Florian-Schoenherr avatar Aug 09 '21 10:08 Florian-Schoenherr

ComposedModal also doesn't work in svelte-kit, possibly because of onDestroy using document?

Fixed by https://github.com/carbon-design-system/carbon-components-svelte/pull/914

metonym avatar Jan 14 '22 18:01 metonym

the (generated) docs still does not answer the question :) The only difference is between the implementation right, a Modal just takes props whereas a ComposedModal exposes it's innards more and allows to use multiple slots for content

michahell avatar Jul 05 '22 19:07 michahell