Skip to content

When list has large set of items 100 or above, last items get added to the top and scrolling does not work properly #521

Open
@emmanuelfrancis

Description

@emmanuelfrancis

Describe the bug

When list has large set of items 100 or above, last items get added to the top and scrolling does not work properly

To Reproduce

  1. Create a picker with 200 items.
  2. Scroll to set some item and observer the behaviour of the scroll.

Expected behavior

Scroll and select should set the item on focus and should not scroll to last item.

Screenshots

Please see attached video.
https://github.com/lawnstarter/react-native-picker-select/assets/956144/aef24f72-300b-4281-9db0-31997b0e8946

Additional details

  • Device: iPhone 14
  • OS: iOS 16.7.1
  • react-native-picker-select version: 8.1.0
  • react-native version: 0.70.6
  • expo sdk version: n/a

Reproduction and/or code sample

https://snack.expo.dev/c9UsjS9RD

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