capacitor-community / photoviewer

PhotoViewer table images with fullscreen and sharing capabilities
MIT License
49 stars 12 forks source link

iOS Share & Close button not visible #42

Closed anthonyplews closed 1 year ago

anthonyplews commented 1 year ago

Describe the bug When opening a single image with the Photoviewer the share and close button are not visible:

Code:

PhotoViewer.show({ images: [{ url: this.user.media.url, title: '' }], mode: 'one', options: { title: false, compressionquality: 1 } });

I'm still able to guess where the buttons are and they are functional when tapped.

Environment:

Ionic Capacitor 5

IMG_16DCEBCE953B-1

jepiqueau commented 1 year ago

@anthonyplews did you sélect the background color to be Black. I will have a look

anthonyplews commented 1 year ago

@jepiqueau no I didn't specify a color:

PhotoViewer.show({ images: [{ url: this.user.media.url, title: '' }], mode: 'one', options: { title: false, compressionquality: 1 } });

anthonyplews commented 1 year ago

Figured out what is causing the issue... it has to do with the light or dark mode settings in iOS, take a look at the recording below:

https://github.com/capacitor-community/photoviewer/assets/38831066/5c98a788-fe33-4f43-a032-beb9c46d6de3

jepiqueau commented 1 year ago

@anthonyplews thanks for this i will have a look

jepiqueau commented 1 year ago

@anthonyplews this has been fixed in 2.1.0 & 3.0.0-beta.1 releases

anthonyplews commented 1 year ago

Thank you will test tomorrow!

anthonyplews commented 1 year ago

Works! Thank you @jepiqueau