Skip to content

First render black screen Android version 0.8.4 #282

@hamdij0maa

Description

@hamdij0maa

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

Update to 0.8.4
run Android => you get black screen on first render only, when you switch tabs it works

Library version

0.8.4

Environment info

react native 0.76.6

Steps to reproduce

1- Update to 0.8.4
2- run Android => you get black screen on first render only, when you switch tabs it works

Reproducible sample code

<Tab.Navigator
      hapticFeedbackEnabled
      labeled
      rippleColor="#322d49"
      tabLabelStyle={{
        fontFamily: FONT_FAMILY,
      }}
      tabBarStyle={{
        backgroundColor: getColor('dark', 'tabBarColor'),
      }}
      disablePageAnimations={true}
      ignoresTopSafeArea
      translucent={true}
      backBehavior="none"
      tabBarActiveTintColor={'#FDE072'}
      scrollEdgeAppearance="opaque"
      initialRouteName="Home"
      tabBarInactiveTintColor={'#ACC2CA'}
      activeIndicatorColor={'#322d49'}
      screenOptions={{
        lazy: true,
        tabBarActiveTintColor: '#FDE072',
      }}>
....
</Tab.Navigator>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions