nolimits4web / swiper

Most modern mobile touch slider with hardware accelerated transitions

Home Page:https://swiperjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slider backface hidden on updating the slides

rajagemini opened this issue · comments

Clear and concise description of the problem

Backface of the slides added is displayed when we update the existing slides with the new one. The property maxBackfaceHiddenSlides ignored when set to 0 while updating the swiper. This happens with the latest version of 9,10 and 11 and we are using swiper element in angular. We do not have the issue with initial rendering of the swiper with the slides. Problem occurs only when we need to update the slides with the new data.

Suggested solution

Backface should not be displayed unless specified with the help of property.

Alternative

We can remove the class 'swiper-backface-hidden' when value is updated so the backface will not be displayed

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • I'm willing to open a PR