You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use export const to expose component methods and Svelte's behavior changed with the 3.54 release (probably because of Prevent running init binding unnecessarily).
It looks roughly like this:
Parent.svelte:
<script>
letcloseModal= () => {}
</script>
<Modalbind:closeModal />
<!-- Since Svelte 3.54, clicking this button does nothing -->
<buttonon:click={closeModal}>close</button>
Describe the bug
I use
export const
to expose component methods and Svelte's behavior changed with the 3.54 release (probably because of Prevent running init binding unnecessarily).It looks roughly like this:
Parent.svelte:
Modal.svelte
It used to work with Svelte <= 3.53.1.
I'm not sure if this is the best way to implement this kind of behavior, any advice would be welcome.
Related: #8168
Suspected breaking change: (edited) #7981
Reproduction
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: