[6.0] Top margin not working on some android devices on expo (pixel 4a)
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- run the expo script from the v6readme
- setup pixel 4a emulator
- run
yarn android
- preview is partly covered by the notch
Expected behavior
Top margin should make all of the preview visible
Screenshots
Code snippets
changing the app.tsx to the following is a workaround
import React from "react";
import { StatusBar, StyleSheet, View } from "react-native";
import StorybookUIRoot from "./.storybook/Storybook";
export default () => (
<View
style={[
StyleSheet.absoluteFillObject,
{ marginTop: StatusBar.currentHeight },
]}
>
<StorybookUIRoot />
</View>
);
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
[6.0] Top margin not working on some android devices on expo ...
setup pixel 4a emulator; run yarn android; preview is partly covered by the notch. Expected behavior. Top margin should make all of the...
Read more >Fix an installed app that isn't working on a Pixel phone
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >react-native buttons padding/margin top don't work
I am tryin g to make the buttons login and register have top spacing from the logo above them but no css ...
Read more >nhE - River Thames Conditions - Environment Agency - GOV.UK
Not keeping the promise quotes, Wy metro 1 timetable, Brett hammerman, ... Mf633+ driver, 6.0 head gasket symptoms, Arti hideung bodas, Android game...
Read more >Untitled
Spodiodie, Firefox jnlp application not found, Telegram desktop, ... Android blackmart alpha free download, Activesync android not working, Buy canon bp-727 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I haven’t been able to finish with this, feel free to open a PR @wilkuintheair
I can take this task @dannyhw