equinor / equinor/mad

Banner is displayed outside of safe area view on devices >= iPhone 14

Open
#786 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
23
Forks
3
Avg merge
1d 17h
Merged PRs (30d)
4

Description

### What happened?

When an API call fails an error banner is displayed partly in the dynamic island/camera notch.

![Image](https://github.com/user-attachments/assets/41931e28-ffc0-4f85-a9fe-45b79f851e60)

### Steps to reproduce

In this case the OM Inspection app tries to upload with no wifi. In other apps it might be better tested with the Flight Mode turned on or similar wifi issue.

An error banner is displayed, but it is not presented in full

### Expected results

I expect the whole banner to be visible in the safe area(not partly covered by the dynamic island/front facing camera notch.

### Actual results

The banner is partly covered by the dynamic island/front facing camera notch.

### Environment details

_No response_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failed upload with no Wi-Fi on an iPhone 14 or newer and inspect the error-banner implementation and its layout entry point. Compare the banner position with the device safe area; done means the full banner remains visible without being covered by the Dynamic Island or camera notch.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.