diff --git a/ui/src/components/ImgViewer/index.tsx b/ui/src/components/ImgViewer/index.tsx index eceb45b4..db100e4b 100644 --- a/ui/src/components/ImgViewer/index.tsx +++ b/ui/src/components/ImgViewer/index.tsx @@ -66,8 +66,13 @@ const Index: FC<{ contentClassName="bg-transparent" onHide={onClose}> + {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-noninteractive-element-interactions */} { + evt.stopPropagation(); + onClose(); + }} src={imgSrc} alt={imgSrc} />