question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The oh-so-famous iPhone notch...

See original GitHub issue

Describe the bug The oh-so-famous iPhone notch causing issues with the admin panel on mobile.

To Reproduce On any notched iPhone, open the browser, visit /admin/#/requests (or any page which has a table), check out the clipping.

Expected behavior No clipping with correct padding.

Screenshots image

Smartphone (please complete the following information):

  • Device: iPhone X and above
  • OS: ANY
  • Browser ANY
  • Version ANY

Additional context CSS_TRICKS has an amazing guide on this and it includes the proper way to handle this. To solve this, simply add the following to the body (or the container, etc):

padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);

PS: I did notice that you’re using using 100% screen-height, so this may be a little trickier for you. I remember I ran into a problem with it a while back. Can’t remember the exact details. But that’s it, just a heads up.

Edit: added screenshot

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AshDysoncommented, Jan 30, 2022

Addressed in the new UI build.

0reactions
angrycuban13commented, Jan 8, 2022

Screenshot for prosperity

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

The iPhone 14 Pro turns the infamous notch into a 'Dynamic ...
In this new design, Apple dubs the cutout/notch a “Dynamic Island.” “Our goal was to design a space that clearly and consistently surfaces ......
Read more >
Why Your iPhone Has a 'Notch'. You've undoubtedly ... - Medium
You've undoubtedly noticed the notch at the top of the iPhone X or iPhone XS display. It's that black part that houses the...
Read more >
Notch No More: How to Use the Dynamic Island on iPhone 14 ...
The Dynamic Island can display notifications for Apple Pay transactions, low battery warnings, AirDrop transfers, and privacy indicators.
Read more >
iPhone 14 Pro makes the notch come alive, finally - ZDNET
Apple has worked the notch into a useful component of iOS 16, giving it a fluid and energetic look that houses widgetlike icons...
Read more >
The notch is no more on the iPhone 14 Pro - Mashable
The iPhone notch has been upgraded for the iPhone 14 Pro. It's now a innovative feature called the "dynamic island."
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found