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
the [part] attribute is missing on the pagination container.
This is inconsistent with what happens if pagination is initialized during swiper creation (via <swiper-container pagination="true"></swiper-container>)
NOTE: This seems to be a purely Swiper Element bug, not a Swiper Core one. However, there is no github bug template for Swiper Element bugs.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-pagination-forked-lm48kq?file=%2Findex.html%3A40%2C22
Bug description
If pagination is initialized via:
swiper.pagination
property (likedocument.querySelector("swiper-container").pagination = true;
)or
setAttribute()
method (likedocument.querySelector("swiper-container").setAttribute("pagination", true)
),the
[part]
attribute is missing on the pagination container.This is inconsistent with what happens if pagination is initialized during swiper creation (via
<swiper-container pagination="true"></swiper-container>
)NOTE: This seems to be a purely Swiper Element bug, not a Swiper Core one. However, there is no github bug template for Swiper Element bugs.
Expected Behavior
Pagination container should look like:
Actual Behavior
Pagination container looks like:
Swiper version
10.1.0
Platform/Target and Browser Versions
Windows Chrome v116
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: