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
I am using css modules for class names, which will generate new class names with a hash appended at the end. The hash may contains symbols such as +. Eg. my generated css class name is Container_bullet__+DWjW.
I found that when I have symbol + in the bulletClass, Swiper cannot correctly append bulletActiveClass in the corresponding bullet element. I expected that the bulletActiveClass should be added in the active bullet element, but indeed it is not shown in any class name.
I simulated this behavior by hardcoding the bullet class name with symbol bullet_+DWjW as shown below in the codesandbox.
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/swiper-pagination-bulletclass-issue-j14vl?file=/src/App.jsx
Bug description
I am using css modules for class names, which will generate new class names with a hash appended at the end. The hash may contains symbols such as
+
. Eg. my generated css class name isContainer_bullet__+DWjW
.I found that when I have symbol
+
in thebulletClass
, Swiper cannot correctly appendbulletActiveClass
in the corresponding bullet element. I expected that thebulletActiveClass
should be added in the active bullet element, but indeed it is not shown in any class name.I simulated this behavior by hardcoding the bullet class name with symbol
bullet_+DWjW
as shown below in the codesandbox.Expected Behavior
Actual Behavior
Swiper version
9.1.0
Platform/Target and Browser Versions
Windows, Chrome
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: