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
@@ -74,6 +74,7 @@ export function ProfileSubpageHeader({
type: 'images',
images: [{uri: avatar, thumbUri: avatar}],
index: 0,
thumbDims: null,
})
}
}, [openLightbox, avatar])