Closed metehus closed 2 years ago
I wan't to open a new window in popup mode and modify it's content via a svelte component, but it didn't work, with the error of the target isn't a HTMLElement or a selector
Stackblitz link
Be possible to render a component inside an opened popup
Got it to work! The solution was to create an element on the current document, and append it to the window document
Goal
I wan't to open a new window in popup mode and modify it's content via a svelte component, but it didn't work, with the error of the target isn't a HTMLElement or a selector
Example
Stackblitz link
Expected behaviour
Be possible to render a component inside an opened popup