capacitor-community / photoviewer

⚡ Capacitor plugin to view table images with fullscreen and sharing capabilities.
MIT License
52 stars 25 forks source link

Photo and close button partially disappear off of screen when device is rotated #57

Closed camilocalvo closed 9 months ago

camilocalvo commented 9 months ago

On iOS, for both vertical and horizontal orientations, rotating the screen while in "photo viewer" mode causes the contents of the screen to become partially obscured. This issue is a bigger problem in landscape mode because the close button can disappear completely from the page. Android appears to work fine.

To reproduce:

  1. Pull up the photo viewer for an image.
  2. Rotate your device.

Screenshots See the attached videos.

https://github.com/capacitor-community/photoviewer/assets/21162110/44a248a1-b152-4bb5-b896-1da0f4cbdf18

https://github.com/capacitor-community/photoviewer/assets/21162110/6afcdaeb-df7b-41d2-aee7-c950a808c77c

Smartphone (please complete the following information):

camilocalvo commented 9 months ago

Closing since this was fixed with the latest release.