Skip to content

Incorrect zIndex behavior for Button on Android with DrawerNavigator #871

@sonaye

Description

@sonaye

kapture 2017-03-30 at 23 23 06

Code to reproduce:

// @flow

import React from 'react';
import { Button, Text, View } from 'react-native';

import { DrawerNavigator } from 'react-navigation';

const Landing = props => (
  <View
    style={{
      alignItems: 'center',
      flex: 1,
      justifyContent: 'center',
      marginTop: 24
    }}>
    <Button
      onPress={() => props.navigation.navigate('DrawerOpen')}
      title="Open Drawer"
    />
    <Text>or swipe from the edge</Text>
  </View>
);

const App = DrawerNavigator({ Landing: { screen: Landing } });

export default App;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions