App icon indicating copy to clipboard operation
App copied to clipboard

Android - Attachments Preview - Header overlaps Android top status bar

Open kavimuru opened this issue 5 years ago • 12 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Open any chat
  2. Send an image as attachment
  3. Click on it in order to have larger preview

Expected Result:

Preview is shown and there are no design breaks

Actual Result:

It does not happen with all headers, I could only identify this one On devices with notch, it will be even more visible

Workaround:

Unknown

Platform:

Where is this issue occurring?

Web iOS Android ✔️ Desktop App Mobile Web

Version Number: 1.0.75-5 Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Issue reproduced in Moto G7 and Galaxy S10 Note from tester:

It does not happen with all headers, I could only identify this one
On devices with notch, it will be even more visible

Expensify/Expensify Issue URL:

View all open jobs on Upwork

kavimuru avatar Jul 07 '21 20:07 kavimuru

Triggered auto assignment to @roryabraham (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Jul 07 '21 20:07 MelvinBot

This can definitely be external

roryabraham avatar Jul 07 '21 21:07 roryabraham

Triggered auto assignment to @marklouisdeshaun (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Jul 07 '21 21:07 MelvinBot

Proposal

Looks like we're setting statusBarTranslucent to our ReactNativeModal, which makes the Modal go under the StatusBar. Removing this prop give us the desired behavior.

https://user-images.githubusercontent.com/53711423/124836091-c333cc80-df58-11eb-9fa9-e2dfaf0f9aa9.mp4

I think we needed this prop when we were using a translucent StatusBar in the whole app to avoid a UI jump, but now that we're using a solid StatusBar this is legacy.

rdjuric avatar Jul 07 '21 22:07 rdjuric

Solution looks good @rdjuric. Feel free to submit a PR as soon as you've been hired on Upwork. @marklouisdeshaun Please post the link to the Upwork job once it's created, and then feel free to hire @rdjuric once he's applied.

roryabraham avatar Jul 08 '21 17:07 roryabraham

Applied to the job @marklouisdeshaun!

rdjuric avatar Jul 08 '21 18:07 rdjuric

Thanks! Offer sent @rdjuric

marklouisdeshaun avatar Jul 08 '21 18:07 marklouisdeshaun

PR merged. Nice quick turnaround here @rdjuric @marklouisdeshaun!

roryabraham avatar Jul 08 '21 19:07 roryabraham

Issue not reproducible during KI retests (Fixed 🎉)

isagoico avatar Jul 12 '21 14:07 isagoico

Paid and closed in Upwork. Thanks @rdjuric!

marklouisdeshaun avatar Jul 15 '21 16:07 marklouisdeshaun