Open portal on popup
metehus opened this issue · 1 comments
metehus commented
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
Expected behaviour
Be possible to render a component inside an opened popup
metehus commented
Got it to work! The solution was to create an element on the current document, and append it to the window document