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.

[Android] StatusBar jumps whole screen when hidden

See original GitHub issue

Was coming across this issue: https://github.com/facebook/react-native/issues/24417 which was closed because the reporter didn’t care to post his environment info. Just copy-pasting from that issue into here

React Native version: 0.60 (using a patched version with V8 as js engine)

System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 23.32 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.12.0 - /usr/local/bin/node
    Yarn: 1.10.1 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5900203
    Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: github:getdelta/react-native#0.60-patched+v8-prebuilt => 0.60.5-patch.5
  npmGlobalPackages:
    create-react-native-app: 1.0.0
    react-native-cli: 2.0.1
    react-native-git-upgrade: 0.2.7

Steps To Reproduce

  1. Hide the statusbar on any screen

Describe what you expected to happen:

The statusbar should disappear, but the screen should not jump down.

This happens on the Google Pixel 3 XL, but is fine on the normal Google Pixel 3. It must be something with the notch.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9

github_iconTop GitHub Comments

1reaction
PoLePandacommented, Jan 30, 2021

This is still an issue on pixel 3XL and pixel 4XL

0reactions
Brightness99commented, Apr 7, 2021

Same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Is there a way to prevent a layout from "jumping ...
I'm trying to implement a photo viewer in my app using a view pager. I'm able to get the system UI to disappear...
Read more >
Android: Full Screen UI with Transparent Status Bar
This article talks about how to make the status bar transparent in any Android app. Also, it deals with how to make a...
Read more >
Hide system bars for immersive mode - Android Developers
Use WindowInsetsCompat. Type. statusBars() to hide only the status bar. Use WindowInsetsCompat.
Read more >
Hiding notch moves down the status bar - OnePlus Community
The notch on display was hidden before upgrade and the status bar was in the black ... The way OxygenOS handled notch hiding...
Read more >
Status Bar/ Notification Display Flickers - Samsung Community
Yes, I found something that worked for me. If you install an app called Super Status Bar from the app store, and run...
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