-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use string array for wrapperClass since 6.5.9 #4680
Comments
Don't expect something undocumented to work, and not sure why it was working:) You can just pass |
I tried that too, but it doesn't work... To get the wrapperEl you use Could we maybe tag this as feature request instead then? |
Actually for now we can just use Though this too isn't documented 😕 |
Yeah, that is a bug for sure :) and already removed here 1285195 |
Add support for this to the core |
What You Did
Setting the default wrapperClass + a custom wrapper class by using an array
<swiper [wrapperClass]="['swiper-wrapper', 'custom-swiper-wrapper']">
Working StackBlitz with version 6.5.8
Broken StackBlitz with version 6.5.9
Expected Behavior
We want to set an additional wrapper class to apply some custom styling, but also have the default styling of the .swiper-wrapper class.
This worked by using a string array, but is now broken since version 6.5.9
I realize that this was an undocumented feature, but as it used to work, it would be really great to keep it 😇
Actual Behavior
Component broken, several exceptions in console, because classes are not applied correctly.
The text was updated successfully, but these errors were encountered: