Closed ile closed 2 years ago
Just tested with v7 and works correctly.
It might have to do with setting customElement
to true
Will close because can't reproduce.
True, the customElement
breaks it.
Could something be done to that? I still need the customElement
, it's useful (will contain only its own CSS for example). If svelte-filepond would work with customElement
, that would be good too.
That won't work, the FilePond core is not written as a custom element. So CSS selectors will probably not find the right elements. There's also challenges with shadow DOM and event handling that is currently not compatible.
Describe the bug
When using rollup-plugin-svelte version 7, the FilePond element isn't instantiated correctly. I get this when loading the app in a browser:
To Reproduce
The only changes:
"rollup-plugin-svelte": "^7.0.0"
It seems to me that
Component.svelte
isn't even loaded (in filepond-svelte).Repository: https://github.com/ilkkah/filepond-example