Closed nikolai-cc closed 2 years ago
When you pass in portal with an HTMLElement rather than id reference, the code does not mount.
steps to repro:
<div bind:this={target} /> <p use:portal={target} />
Also the docstring is incorrect.
When you pass in portal with an HTMLElement rather than id reference, the code does not mount.
steps to repro:
Also the docstring is incorrect.