You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 routineon('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
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: