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

svelte 5 : script tag does not calll load #11249

Closed
zhihengGet opened this issue Apr 19, 2024 · 1 comment
Closed

svelte 5 : script tag does not calll load #11249

zhihengGet opened this issue Apr 19, 2024 · 1 comment

Comments

@zhihengGet
Copy link

zhihengGet commented Apr 19, 2024

Describe the bug

<svelte:head>
	<script src="https://js.stripe.com/v3/" on:load={() => console.log('script:load') }></script>
</svelte:head>

on:load not called but if you add one more script then it seems to be ok

<svelte:head>
	<script src="https://js.stripe.com/v3/" on:load={() => console.log('script:load') }></script>
	<script src="https://js.stripe.com/v3/" on:load={() => console.log('script:load') }></script>
</svelte:head>

Reproduction

5

Logs

No response

System Info

svelte@5.0.0-next.108

Severity

annoyance

@Rich-Harris
Copy link
Member

#11046

@Rich-Harris Rich-Harris closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants