Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
Fix lightbox scroll wheel and image flash on open
Abi Raja6287ab756f66
diff --git a/frontend/src/components/ImageLightbox.tsx b/frontend/src/components/ImageLightbox.tsxindex 88cc3e6f..eaaa213e 100644--- a/frontend/src/components/ImageLightbox.tsx+++ b/frontend/src/components/ImageLightbox.tsx@@ -185,7 +185,7 @@ function ImageLightbox({ image, onClose }: ImageLightboxProps) {maxWidth: "none",maxHeight: "none",}- : undefined+ : { visibility: "hidden" as const }}onLoad={(event) => {setNaturalSize({