-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Describe the bug
Passing actions in the Gallery options prop do not appear to be respected. Other options (e.g. zoom) are respected.
To Reproduce
Steps to reproduce the behavior:
- Pass any action option (e.g.
bgClickOutside: 'close') toGallerycomponent - Open gallery image
- Click outside will not close the gallery
This is true of all actions. Passing an function as an action - bgClickOutside: (props) => console.log(props) reveals that the event does not appear to be fired at all.
Expected behavior
Photoswipe respects the action option configured.
Desktop (please complete the following information):
- OS: MacOS
- Browser: Arc (Chromium) 1.59.0
- Version: 3.0.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels