Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android - Attachments Preview - Header overlaps Android top status bar #3900

Closed
kavimuru opened this issue Jul 7, 2021 · 12 comments
Closed
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jul 7, 2021

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com 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

@MelvinBot
Copy link

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

@roryabraham
Copy link
Contributor

This can definitely be external

@roryabraham roryabraham added the External Added to denote the issue can be worked on by a contributor label Jul 7, 2021
@MelvinBot
Copy link

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

@rdjuric
Copy link
Contributor

rdjuric commented Jul 7, 2021

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.

video.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.

@roryabraham
Copy link
Contributor

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.

@marklouisdeshaun
Copy link
Contributor

Upwork job post

@rdjuric
Copy link
Contributor

rdjuric commented Jul 8, 2021

Applied to the job @marklouisdeshaun!

@marklouisdeshaun
Copy link
Contributor

Thanks! Offer sent @rdjuric

@roryabraham
Copy link
Contributor

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

@marklouisdeshaun marklouisdeshaun added Weekly KSv2 and removed Daily KSv2 labels Jul 8, 2021
@isagoico
Copy link

Issue not reproducible during KI retests (Fixed 🎉)

@marklouisdeshaun
Copy link
Contributor

Paid and closed in Upwork. Thanks @rdjuric!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants
@MelvinBot @kavimuru @isagoico @roryabraham @marklouisdeshaun @rdjuric and others