Measure tapped image coordinates before opening lightbox (#6001)
* Measure image on press * Pass dimensions to the lightbox component
This commit is contained in:
@@ -74,6 +74,7 @@ export function ProfileSubpageHeader({
|
||||
type: 'images',
|
||||
images: [{uri: avatar, thumbUri: avatar}],
|
||||
index: 0,
|
||||
thumbDims: null,
|
||||
})
|
||||
}
|
||||
}, [openLightbox, avatar])
|
||||
|
||||
Reference in New Issue
Block a user