You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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') to Gallery component
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
The text was updated successfully, but these errors were encountered:
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:
bgClickOutside: 'close'
) toGallery
componentThis 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):
The text was updated successfully, but these errors were encountered: