social-app
social-app copied to clipboard
Images expand to only half of the screen when on folding phones, when screen is unfolded
Describe the bug
Images expand to only half of the screen when on folding phones -- in this case, a Samsung Galaxy Z Fold3 -- when screen is unfolded.
Screenshots
Details
- Platform: Android
- Platform version: Samsing Galaxy Z Fold3, One UI version 5.1.1, Android 13
- App version: 1.60.0 (51)
@sharph as i've been tinkering with lightbox improvements...is this happening when you open the image without it being unfolded and then it doesn't resize once you unfold it? if that's the case, rather easy fix by using the useWindowDimensions()
hook to get screen dimensions instead of Dimensions.get()
.
@haileyok Sorry for the long delay here!
Whenever the screen is folded/unfolded the app resets -- I see the butterfly splash.
That said, there does seem to be a memory effect from the folded state from when the app was first opened.
For example:
I can start the app with the phone folded, unfold the phone, tap an image, see the image taking up half the screen.
I can force quit the app, start the app in the unfolded state, then fold the phone, tap an image, and see the image sized too big for the folded screen.
Hope this helps!