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

Implement Infinite Scrolling for Slider-Lightbox #205

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ingmtz
Copy link

@ingmtz ingmtz commented Jun 7, 2024

Implement Infinite Scrolling for Slider-Lightbox

Summary:

This update introduces infinite scrolling functionality to the slider-lightbox component.

Changes:

  • If the "Previous" button is pressed while viewing the first image, the slider will now show the last image.
  • If the "Next" button is pressed while viewing the last image, the slider will now show the first image.
  • These behaviors are activated when the infinite variable is set to true.

Details:

  1. Previous Button Behavior:

    • When the first image is displayed and the "Previous" button is clicked, the slider will navigate to the last image.
  2. Next Button Behavior:

    • When the last image is displayed and the "Next" button is clicked, the slider will navigate to the first image.

Please review the changes and let me know if there are any questions or concerns.

Thank you!

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

Successfully merging this pull request may close these issues.

1 participant