react-native-image-view icon indicating copy to clipboard operation
react-native-image-view copied to clipboard

Zoom issue when height is bigger than width

Open creative-dev-lab opened this issue 5 years ago • 2 comments

First of all, Thanks for the great work! - Really appreciate it! I have an issue with zooming image

Issue

If the width is bigger than the height, it's working fine. But if the width is smaller than the height, zooming does not work properly.

Expected Behavior

Zoomed image should locate in the centher of the screen.

Actual Behavior

Zoomed image is automattically going upper side.

###ScreenShot Simulator Screen Shot - iPhone X - 2019-10-15 at 09 58 59

creative-dev-lab avatar Oct 15 '19 17:10 creative-dev-lab

I also face this issue RN v 0.60.4. Any solution?

sensoft2207 avatar Jan 08 '20 05:01 sensoft2207

@sensoft2207 for now the fastest solution is to use https://github.com/jobtoday/react-native-image-viewing which is completely remastered version of this package. I am going to replace this package with https://github.com/jobtoday/react-native-image-viewing as version 3.0 in several days.

antonKalinin avatar Jan 08 '20 08:01 antonKalinin