Skip to content

Web component now longer working #17283

@nevil2

Description

@nevil2

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.2

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions