Skip to content
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

Toggling pagination input doesn't work properly #5089

Closed
5 of 6 tasks
ItaiEsquare opened this issue Oct 14, 2021 · 1 comment · Fixed by #5229
Closed
5 of 6 tasks

Toggling pagination input doesn't work properly #5089

ItaiEsquare opened this issue Oct 14, 2021 · 1 comment · Fixed by #5229

Comments

@ItaiEsquare
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/swiper-pagination-angular-forked-xos4i?file=/src/app/app.component.ts

Bug description

Pagination input doesn't show/hide pagination according to value.

Expected Behavior

Show pagination whenever input changes to true

Actual Behavior

When initial value is true, pagination is rendered as expected. When it changes to false, it disappears as expected. from that point, pagination is not always when when toggled to true.
When the initial value is false, the pagination is never shown when input changes to true...

Swiper version

7.0.8

Platform/Target and Browser Versions

macOS chrome

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.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@ItaiEsquare ItaiEsquare changed the title Toggling pagination work properly Toggling pagination input doesn't work properly Oct 14, 2021
@vltansky
Copy link
Collaborator

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants