My app is locked on portrait, but I have an image slider component where images can go to landscape.
I've added PhotoView to my project, and everything goes well if the orientation doesn't change
but when I change the orientation, the photo view component gets a wrong axis.
Initial load looks good, I can zoom in/out
But, if the image scale is different than 1 and orientation change, the next render will look like this, on portrait or landscape.
Hi!
The axis gets lost after rotation
My app is locked on portrait, but I have an image slider component where images can go to landscape. I've added PhotoView to my project, and everything goes well if the orientation doesn't change but when I change the orientation, the photo view component gets a wrong axis.
Initial load looks good, I can zoom in/out
But, if the image scale is different than 1 and orientation change, the next render will look like this, on portrait or landscape.