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

ios change tabbar cause white screen #225

Closed
plimerence opened this issue Nov 28, 2017 · 5 comments
Closed

ios change tabbar cause white screen #225

plimerence opened this issue Nov 28, 2017 · 5 comments

Comments

@plimerence
Copy link

i make a banner use Carousel ,but when i click tabbar to change to other screen ,the white screen may appear.
whitescreen

my core code is here:
<Carousel
inactiveSlideScale={1}
autoplayDelay={4000}
sliderWidth={this.props.itemWidth}
sliderHeight={ this.props.sliderHeight}
itemWidth={this.props.itemWidth}
itemHeight={ this.props.itemHeight}
onSnapToItem={(index) => {
this.setState({ activeSlide: index })} }
autoplay = {true}
renderItem={this.props.renderItem}
data={this.props.data}
loop={this.props.loop}
>
renderBannerContent = ({item})=>{
return (
<TouchableOpacity activeOpacity={1} onPress={() => this.press(item)}>
<Image key="project"
style={{width: WIDTH, height: NEEDSCALESIZE(310)}}
source={item.uri}/>
)
};

my environment :
"react": "16.0.0-beta.5",
"react-native": "0.49.3",
"react-navigation": "^1.0.0-beta.15",

@bd-arc
Copy link
Contributor

bd-arc commented Nov 28, 2017

⚠️ You did not follow the contributing guidelines!

As stated in these:

⚠️ You need to fill out the issue template. This step is mandatory! Not doing so will result in your issue getting closed. Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.


Unless you provide a Snack example that reproduces the issue, we won't be able to help you and the issue will be closed.

@chrise86
Copy link

I think I'm facing a similar issue - did you get any further with your issue @plimerence ?

@plimerence
Copy link
Author

i do not hava any good idea, if you are hurry about it ,you can create a native module to solve this problem。 ps:andriod device is OK ,so just create ios native module . @chrise86

@meiqi1992
Copy link

had solved?sample question

@bd-arc
Copy link
Contributor

bd-arc commented Jul 2, 2018

@meiqi1992 See #238.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants