Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work in Safari when used on a Sapper app #24

Open
hubert-ix opened this issue Mar 29, 2022 · 1 comment
Open

Doesn't work in Safari when used on a Sapper app #24

hubert-ix opened this issue Mar 29, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@hubert-ix
Copy link

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} />`

@vinodnimbalkar vinodnimbalkar added the help wanted Extra attention is needed label Mar 31, 2022
@aureleoules
Copy link
Contributor

I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants