Skip to content

ScrollView horizontal={true} error #21840

@yaoyingjiang

Description

@yaoyingjiang

Environment

OS: macOS High Sierra 10.13.6
Node: 8.4.0
Yarn: 1.7.0
npm: 5.8.0
Watchman: 4.9.0
Xcode: Xcode 10.0 Build version 10A255
Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.3 => 0.55.3

Description

Set the property horizontal = {true} in ScrollView to scroll view horizontally but report an error after running Invariant Violation: Invariant Violation: Invariant Violation: Invariant Violation: Native component for "Android Horizontal ScrollView" does not exist.

here is my code

image

Uploading image.png…

Reproducible Demo

Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions