Merged in fix/SW-2831-image-gallery-history (pull request #2155)
fix(SW-2831): checking isOpen before rendering Lightbox component to avoid spamming the window history * fix(SW-2831): checking isOpen before rendering Lightbox component to avoid spamming the window history Approved-by: Linus Flood
This commit is contained in:
committed by
Linus Flood
parent
f4ef5a342f
commit
f60d07fd9e
@@ -4,7 +4,6 @@ export interface LightboxProps {
|
||||
images: GalleryImage[]
|
||||
dialogTitle: string /* Accessible title for dialog screen readers */
|
||||
onClose: () => void
|
||||
isOpen: boolean
|
||||
activeIndex?: number
|
||||
hideLabel?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user