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

Change direction scrollbar #7263

Closed
3 of 4 tasks
nytwyk opened this issue Dec 19, 2023 · 0 comments · Fixed by Mapuppy09/tradetrust-website#8 · May be fixed by aswanthchandran0/eccomerce#4
Closed
3 of 4 tasks

Change direction scrollbar #7263

nytwyk opened this issue Dec 19, 2023 · 0 comments · Fixed by Mapuppy09/tradetrust-website#8 · May be fixed by aswanthchandran0/eccomerce#4

Comments

@nytwyk
Copy link

nytwyk commented Dec 19, 2023

Clear and concise description of the problem

When you change the direction of a swiper with pagination, the direction of the pagination is also changed.
Unfortunately, this doesn't work with scrollbar because the routine on('changeDirection', () => {...} is missing.

Suggested solution

I've added the line const makeElementsArray = el =>... and the modified routine on('changeDirection', () => {...} from pagination and it seem to work.

Alternative

No response

Additional context

But there may be a problem with the change that I don't see.

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