Skip to content

The selection of the year 1924 and below does not work #455

@rozhkovs

Description

@rozhkovs

Current behaviour

When you select a year earlier than 1925, artifacts appear on the interface, and it is impossible to scroll back.

Expected behaviour

The calendar displays correctly and allows scrolling both left and right.

How to reproduce?

Run the example on iOS or Android. Select the year 1900.

Preview

Simulator.Screen.Recording.-.iPhone.16.-.2025-02-13.at.16.21.55.mp4

What have you tried so far?

If you increase the number export const startAtIndex = 1200 to 4000, the issue disappears.

Your Environment

software version
ios 18.1
android 15
react-native 76
react-native-paper ^5.12.5
node 21
npm or yarn 4
expo sdk 52

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions