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 Back active style Error #16654

Closed
betsun2017 opened this issue Nov 3, 2017 · 1 comment
Closed

Android Back active style Error #16654

betsun2017 opened this issue Nov 3, 2017 · 1 comment
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@betsun2017
Copy link

betsun2017 commented Nov 3, 2017

Is this a bug report?

NO

Have you read the Contributing Guidelines?

YES

Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 0.27.5
npm: 5.4.0
Watchman: 4.7.0
Xcode: Xcode 8.3.2 Build version 8E3004b
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react-native: 0.47.1 => 0.47.1
react: 16.0.0-alpha.12 => 16.0.0-alpha.12

Target Platform:Andorid (6.0)

Steps to Reproduce

1.Switch program to background
2.Wait a moment
3.Switch to foreground

Expected Behavior

I hope it works。
there is no interval between the text and the status bar

Actual Behavior

Not every time, not everyone, but with great regularity。
I found StatusBar is show ,but there are 20 dp between the text and the status bar.

Reproducible Demo

"use strict";
import React, {Component} from 'react';
import {
    View,
    Text,
    StatusBar,
    AppRegistry
} from 'react-native';
 export default class Pghd extends Component {

render() {

   return (
         <View style = {{flex:1,marginTop:20}}>
                  <StatusBar backgroudColor = {"#000"} barStyle= "default" translucent = {true}/>
                  <Text>{"this is test"}</Text>
          </View>
    );
  }
}
AppRegistry.registerComponent('pghd', () => Pghd);`
@stale
Copy link

stale bot commented Jan 2, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 2, 2018
@stale stale bot closed this as completed Jan 9, 2018
@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

1 participant