-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the bug
Following scenario: we provide a base app (App.svelte), and some components for users to use (Component.svelte).
The users are supposed to provide their own add-on components (AddOn.svelte), which can use our components, and then add them to the base app through an interface app.addComponent(myaddon). The add-ons are then inserted using <svelte:element bind:this={myaddon} />
When using those provided components inside the add-on, we can set properties, but we cannot bind to them.
Reproduction
https://github.com/hgiesel/svelte-bug-example
Logs
No response
System Info
System:
OS: macOS 11.2.3
CPU: (8) x64 Intel(R) Core(TM) i7-1060NG7 CPU @ 1.20GHz
Memory: 423.93 MB / 8.00 GB
Shell: 5.1.4 - /usr/local/bin/bash
Binaries:
Node: 16.0.0 - /usr/local/bin/node
Yarn: 1.22.5 - ~/.yarn/bin/yarn
npm: 7.10.0 - /usr/local/bin/npm
Browsers:
Chrome: 91.0.4472.114
Firefox: 89.0.2
Safari: 14.0.3
npmPackages:
svelte: ^3.38.3 => 3.38.3Severity
blocking all usage of svelte
Metadata
Metadata
Assignees
Labels
No labels