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

Close Bar appears when before an image is selected when Gallery View is used #44

Open
vicatcu opened this issue Jul 17, 2023 · 1 comment

Comments

@vicatcu
Copy link

vicatcu commented Jul 17, 2023

Describe the bug
For some reason the class="photobuttons-container" div always seems to appears while in the gallery view, and clicking the close button makes the gallery disappear. I don't know what use-case this supports or if it's intentional, but I don't want that in my application. How can I change it?

To Reproduce
This behavior / bug is evident without modification when you launch the example app at https://github.com/jepiqueau/angular-photoviewer-app, open it in a web browser, and click on Mode Gallery.

Expected behavior
When the Gallery Mode is selected, the Close Bar should not be displayed while the gallery is being displayed rather than one of the photos being selected.

Screenshots

image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser Chrome
  • Version 114.0.5735.198 (Official Build) (64-bit)
@jepiqueau
Copy link
Collaborator

@vicatcu Thanks for your comment, the use case is when your application is multi-pages or the gallery is set in a modal window you need this button to go back to the previous page or to close the modal

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