Skip to content

ScrollView is not working with createMaterialTopTabNavigator in Android #4987

@listingzhao

Description

@listingzhao

Current Behavior

  • Sample code contains a normal TabNavigator, and a TabNavigator inside the scrollview.
  • Inside the scrollview TabNavigator work normally under the ios, disappear under the android TAB panel, TAB to switch failure.

Expected Behavior

  • The inside of the scrollview TabNavigator under the ios and under the android can work normally.
  • createMaterialTopTabNavigator with rolling and rolling of the page, rather than the TAB pane scroll.

How to reproduce

  • re-create the bug on Snack with code that reproduces the bug.
  • When the TabNavigator inside the ScrollView, It is working in ios, but not in the android, TAB panel is disappearing in the android, the links below you can see effect.

Your Environment

software version
react-navigation 2.14.0
react-native 0.57.0
node v8.11.3
npm or yarn yarn v1.9.2

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