Closed noumantahir closed 1 year ago
@noumantahir issue needs more brainstorming and according to my assesment we have to support landscape mode because forcing portrait is not a good solution and it is causing issues or various devices like android tablets with width greater than height and when starting app in landscape mode locked
Happens when opening app using an external post link.
Issue might be due landscape/portraint width not calculating properly. Need to reproduce it first
Update: Attempted to reproduce this issue on android table emulator, apparently it is not being reproduce even if we open Ecency app while tablet is locked in landscape mode.
If we notice closely look at the first screenshot shared by melinda, the BasicHeader dimensions are being read properly but it messes up as it renders PostBodyView. Based on this deduction, the issue seems to be coming from this code linked below, it is just a guess though https://github.com/ecency/ecency-mobile/blob/development/src/utils/getWindowDimensions.ts#L18