openspacelabs/react-native-zoomable-view

overpanning on android only

Opened this issue · 0 comments

same code and same images on ios works fine, but there is slight overpanning on android

specifically for content with an aspect ratio that completely fills the vertical zoom subject, this happens. If the content aspect ratio fills the horizontal zoom subject, but not the vertical, it doesnt happen.

It feels like there might be something to do with the status bar, but I am definately setting the contentHeight using the window height, not the screen height. I mean, its the same calculation regardless of the image itself, and if its a landscape type of aspect ratio, when I zoom, in the content bounding is pixel perfect.

I cant really understand it.