-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Describe the bug
I am using same web component as I was when I raise an issue before which was fixed #14508 in multiple sites.
It is working on https://smc.org.uk which is running Svelte 5.38.1.
It is no longer working other sites such as https://climbers-club.co.uk which is running Svelte 5.44.0 with experimental async and runes = true.
<topo-editor {image} {getFile} onchange={(e: CustomEvent) => saveFile(e)}></topo-editor>
component works by accepting an image. The editor loads and the user makes topo. When clicking the submit button, getFile is changed to true and the onchange event is triggered. Now when getFile is changed to true, onchange is not triggered.
Reproduction
<topo-editor {image} {getFile} onchange={(e: CustomEvent) => saveFile(e)}></topo-editor>
component works by accepting an image. The editor loads and the use makes topo. When clicking the submit button, getFile is changed to true and the onchange event is triggered. Now when getFile is changed to true, onchange is not triggered.
Logs
System Info
System:
OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
Memory: 4.48 GB / 15.59 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 24.1.0 - /tmp/fnm_multishells/79_1764570325209/bin/node
Yarn: 1.22.22 - /tmp/fnm_multishells/79_1764570325209/bin/yarn
npm: 11.6.3 - /tmp/fnm_multishells/79_1764570325209/bin/npm
pnpm: 10.24.0 - /tmp/fnm_multishells/79_1764570325209/bin/pnpm
npmPackages:
svelte: ^5.41.4 => 5.45.2Severity
blocking an upgrade