@@ -14,6 +14,10 @@
.PhotoView-PhotoSlider__ArrowRight,
.PhotoView-PhotoSlider__FooterWrap {
opacity: 0;
+
+ &:hover {
+ opacity: 0;
+ }
}
@@ -329,6 +329,7 @@ export default class PhotoSlider extends React.Component<IPhotoSliderProps, Phot
return (
<SlideWrap
className={classNames({ 'PhotoView-PhotoSlider__clean': !visible }, className)}
+ role="dialog"
onClick={e => e.stopPropagation()}
>
<div