Measure tapped image coordinates before opening lightbox (#6001)
* Measure image on press * Pass dimensions to the lightbox component
This commit is contained in:
@@ -57,6 +57,7 @@ let ProfileHeaderShell = ({
|
||||
openLightbox({
|
||||
type: 'profile-image',
|
||||
profile: profile,
|
||||
thumbDims: null,
|
||||
})
|
||||
}
|
||||
}, [openLightbox, profile, moderation])
|
||||
|
||||
Reference in New Issue
Block a user