Image Picker UI turns black in preview (works but becomes hard to see)

The Image Picker works correctly, but in preview the UI becomes almost completely black and hard to see.

Details:

  • The functionality still works (I can upload an image).

  • The issue is only visual in preview.

  • This did not happen before.

  • I tried deleting and re-adding the Image Picker.

  • I also tested it on a completely new screen.

  • The result is the same.

Because of this, the UI becomes very difficult to see when the background is dark.

Has anyone experienced this with the Image Picker in preview?
Is this a preview rendering issue or something related to the component itself?

Hi @Yuki.O,

It seems like a bug which I can see in responsive apps too with the latest changes!

Will share with the team and get back here on updates!

Thank you and have a great day!

Hi Dilon,
I recall the image picker uploads the full photo, then downloads the new file from the server, slightly compressed. This is cause of the ‘blackness’. It should just show the file before upload, no need to download from the server imo.

Thanks

1 Like

I’d say even more - it should store the uploaded image in the app local state, and there should be an extra “upload image” action, with configurable parameters like resolution, compression etc.
But that’s in our dreams :slight_smile:

Best,
Victor.

3 Likes

Thanks guys, noted! I guess these would be related here, right? : Upload picture issue? - #20 by afonso

I think Yuki facing this issue where the standalone image picker box isn’t visible and I guess it should be fixed now! @Yuki.O, could you confirm?

Thank you and have a great day!