Skip to content

Slider backface hidden on updating the slides #7563

Open
@rajagemini

Description

@rajagemini

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions