Pinch to zoom: see if we can align to top/center for taller than 9:16 devices (currently it aligns to top/left) #653
Labels
[Type] UI Bug
The app works, user can complete their task, but the UX is not as we designed it to be.
With devices taller than 9:16 and images with a width equal or greater than the device's screen width, we're causing the pivot point in PhotoView library introduced in #651 to be anchored at the top-left of the screen (by using
FIT_START
).IMG_1187.MOV
This behavior comes from this part of code:
The thing is on Android we can’t really anchor the image to
top|center
but only to eithertop|left
ortop|right
as per the predefinedScaleType
(seeFIT_START
,FIT_END
). We could probably override this but it’d involve programming the scaling behavior ourselves to anchor to the center.The text was updated successfully, but these errors were encountered: