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

renderNavigation prop needed #3915

Closed
2 of 3 tasks
niklasp opened this issue Nov 2, 2020 · 2 comments
Closed
2 of 3 tasks

renderNavigation prop needed #3915

niklasp opened this issue Nov 2, 2020 · 2 comments

Comments

@niklasp
Copy link

niklasp commented Nov 2, 2020

This is a (multiple allowed):

  • bug

  • enhancement

  • feature-discussion (RFC)

  • Swiper Version: 6.3.5

What you did

I tried to render custom navigation arrows in react. Problem is, that classNames like disabled are not passed to the components. I tried setting, the navigation.nextEl to a valid css selector, as well as to a react Component.

Expected Behavior

There are swiper options for renderBullet, renderFraction, ... that accept classnames in a function. We would need one for renderNavigation as well.

@niklasp
Copy link
Author

niklasp commented Nov 2, 2020

related #3855 #3788

@nolimits4web
Copy link
Owner

There is no anything related to rendering navigation. Just pass valid CSS selectors to navigation.nextEl and navigation.prevEl and put corresponding elements inside of the Swiper

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

2 participants