Component slot not working within modal

Hi @charlie,

I am trying to create a component with a modal inside and I want to create a slot for the modal content. The slot exists but when I use the exported component and try to add anything to the slot, no element is added

Any ideas?

I didn’t seem to have an issue with this. Try maybe creating another component. Try adding a div inside the modal and adding that as a slot and see it if shows up. If you export a page that is using your component I can take a look as well. Have a great day.

Hey @charlie

Thanks for getting back to me… I have tried recreating this problem with no success… ie it all works now. I will get back to you if I can replicate this

1 Like