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 3 : Close the modal when the close button is clicked and when clicking the modal background. #6

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

Currently, our modal does not close when the close button is clicked or when the modal background is clicked. Implement this functionality so that users can easily close the modal when they're done viewing the images.

Expected behavior

When a user clicks the close button or the modal background, the modal should close and return to the gallery view:

issue3.mov

Hint

If you're stuck on the issue, here is a hint Try adding a click handler to the modal!
@sbmsr sbmsr changed the title Issue #3: Close the modal when the close button is clicked and when clicking the modal background. Issue 3 : Close the modal when the close button is clicked and when clicking the modal background. 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