Skip to content

Performance issues with react-native-wheel-picker in react-native-bottom-sheet on Android #49

Description

@zhuscat

Hello, I'm trying to use react-native-wheel-picker within a react-native-bottom-sheet on Android, and I've encountered some performance issues.

When I use VirtualizedWheelPicker, I notice UI jank when the modal is opened. However, this jank doesn't happen when I switch to WheelPicker. The problem with WheelPicker is that when there are a large number of options (e.g., 1000 items), the modal takes a very long time to appear, and scrolling is extremely laggy.

This is my minimum reproducible example repository: https://github.com/zhuscat/virtualized-wheel-picker-with-bottom-sheet-cause-janky-ui

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions