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

Issue 4 : Disable the navigation buttons when the first or last image is displayed. #7

Open
sbmsr opened this issue Apr 25, 2023 · 0 comments

Comments

@sbmsr
Copy link
Member

sbmsr commented Apr 25, 2023

What you need to do

In the modal, the "previous" and "next" buttons should be disabled when the first or last image is displayed, respectively. Implement this functionality to enhance the user experience and prevent navigating beyond the image gallery's limits.

Expected behavior

When the first image is displayed, the "previous" button should be disabled. When the last image is displayed, the "next" button should be disabled:

issue4.mov
@sbmsr sbmsr changed the title Issue #4: Disable the navigation buttons when the first or last image is displayed. Disable the navigation buttons when the first or last image is displayed. Apr 25, 2023
@sbmsr sbmsr changed the title Disable the navigation buttons when the first or last image is displayed. Issue 4 : Disable the navigation buttons when the first or last image is displayed. Apr 25, 2023
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

1 participant