Allow browser context menu for images in reader (#524)

The changes of dabe88385d removed the ability to copy/open images in a new tab due to enabling scrolling via left mouse click and dragging the mouse.
This commit is contained in:
schroda
2023-12-28 20:22:34 +01:00
committed by GitHub
parent 120e97e882
commit 356303ab5a
2 changed files with 1 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ export function SpinnerImage(props: IProps) {
return <Box sx={spinnerStyle} />;
}
return <img style={imgStyle} ref={imgRef} src={imageSrc} alt={alt} />;
return <img style={imgStyle} ref={imgRef} src={imageSrc} alt={alt} draggable={false} />;
}
SpinnerImage.defaultProps = {