Skip to content

[Android] VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList. #18035

Closed
@jeprojects

Description

@jeprojects

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

Environment:
OS: macOS High Sierra 10.13.3
Node: 8.9.4
Yarn: Not Found
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.0 => 0.53.0

Target Platform: Android (8 Oreo)

Steps to Reproduce

  1. Create parent vertical FlatList
  2. Add horizontal ViewPagerAndroid (for tabs)
  3. Each tab has a vertical FlatList

Expected Behavior

Application should show the child FlatLists in the tabs. This works fine on iOS, but on android it throws this error:

ReactNativeJS: VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.

Actual Behavior

Child FlatLists don't show and throws this error: ReactNativeJS: VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: AndroidAndroid applications.Ran CommandsOne of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions