Doesn't work in Safari when used on a Sapper app
hubert-ix opened this issue · 1 comments
hubert-ix commented
I am getting an empty result on Safari when the package is used within a Sapper app (it works fine on other browsers)
This is the code I've used, taken straight from the docs:
`<script>
import { onMount } from "svelte";
let PdfViewer;
let url = "something";
onMount(async () => {
const module = await import("svelte-pdf");
PdfViewer = module.default;
});
</script>
<svelte:component this={PdfViewer} url={url} />`
aureleoules commented
I have the same issue.