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

v9 Pagination renderBullet #6361

Closed
5 of 6 tasks
Bimmr opened this issue Feb 7, 2023 · 0 comments
Closed
5 of 6 tasks

v9 Pagination renderBullet #6361

Bimmr opened this issue Feb 7, 2023 · 0 comments

Comments

@Bimmr
Copy link

Bimmr commented Feb 7, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://jsfiddle.net/Bimmr/qL84mz7u/
(Had to use JSFiddle as my work apparently blocks CodeSandbox...)

Bug description

With the v9 update inner elements of the renderBullet element cause the pagination bullets to not trigger

Expected Behavior

Make the pagination bullets click event capture so it will run when children are clicked. With Swifter v8 this was the default behaviour.

Actual Behavior

The H1 is being rendered on top of the first element passed to the renderBullet causing the first element to never register the bullet being clicked

Swiper version

9.0.3

Platform/Target and Browser Versions

Edge

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant