You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use react-native-parallax-view inside of a form-sheet presented modal view on iPad. This means that while the viewport area is 540pt wide, the screen actually is much wider.
At present, the image's width is given by width: screen.width, which is far too wide. this makes the image appear too 'zoomed in' and basically it has the wrong aspect ratio.
The text was updated successfully, but these errors were encountered:
fatuhoku
changed the title
Do not use window width
Do not use window width; get the width of the current viewport
Aug 11, 2015
I use
react-native-parallax-view
inside of a form-sheet presented modal view on iPad. This means that while the viewport area is 540pt wide, the screen actually is much wider.At present, the image's width is given by
width: screen.width
, which is far too wide. this makes the image appear too 'zoomed in' and basically it has the wrong aspect ratio.The text was updated successfully, but these errors were encountered: