Added option to allow next nav element at the end of slides, which returns back to the first slide #5270
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I just added small feature for "custom" loop. Recently we had issues with rendering performance of swiper in react and we find out many things in our code to improve and also our UX guys had proposal of making custom loop. This feature allows next navigation element to be shown also at last slide and it allows user to click on it and then it navigates back to first slide. This is much better for performance, since we won't duplicate any slides which would be also rendered and it does help user to navigate back even without loop turned on.
Do you think it would be possible to add this feature to swiper? I also updated app.jsx in react playground, so anyone could try it.
(This is a first time I'm trying to contribute to any GitHub project, so I'm sorry if there is something I should do different in this process.)
Thanks!