Measure tapped image coordinates before opening lightbox (#6001)

* Measure image on press

* Pass dimensions to the lightbox component
This commit is contained in:
dan
2024-10-31 16:24:15 +00:00
committed by GitHub
parent 6f4703e814
commit 1e32327de0
8 changed files with 56 additions and 11 deletions
+1
View File
@@ -57,6 +57,7 @@ let ProfileHeaderShell = ({
openLightbox({
type: 'profile-image',
profile: profile,
thumbDims: null,
})
}
}, [openLightbox, profile, moderation])