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
Hello @julienvos. Please provide a online reproduction by codesandbox or a minimal GitHub repository. You can fork one of our demos in codesandbox to get start. Issues labeled by missing demo will be closed if no activities in 3 days.
Check that this is really a bug
Reproduction link
https://github.com/julienvos/swiper-app-demo
Bug description
When I want to use Swiper Element (Webcomponent) CDN or npm in SvelteKit I get the following error:
TypeError: Cannot create property 'enabled' on string 'true'
It refers to the function getParams(element) in get-params.js. On the if statement:
if (passedParams[name] && modulesParamsList.includes(attr.name)) {
passedParams[name].enabled = value;
} else {
passedParams[name] = value;
}
}
Sveltekit has an initial SSR on page visit. I think it has something to do with that.
Expected Behavior
A smooth running component
Actual Behavior
A brief display of a smooth running component followed by the error message with a non-functional component.
Swiper version
9.0.1
Platform/Target and Browser Versions
Windows 10 Edge
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: