react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

TimelineList scrolling animation is janky

Open HonestCodeWasTaken opened this issue 1 year ago • 3 comments

Description

Scrolling is sometimes janky

https://github.com/wix/react-native-calendars/assets/59506416/f63a5146-89b4-4526-b907-7bca58a02591

      <CalendarProvider
        date={currentDate}
        onDateChanged={onDateChanged}
        onMonthChange={onMonthChange}
        showTodayButton
        disabledOpacity={0.6}
        // numberOfDays={2}
      >
        <ExpandableCalendar
          disablePan
          hideKnob
          firstDay={1}
          leftArrowImageSource={Images.Previous}
          rightArrowImageSource={Images.Next}
          markedDates={marked}
        />
        <TimelineList
          events={eventsByDate}
          timelineProps={timelineProps}
          showNowIndicator
          // scrollToNow
          scrollToFirst
          initialTime={INITIAL_TIME}
        />
      </CalendarProvider>

Expected Behavior

I was scrolling intensively

Observed Behavior

The scrolling seems to teleport in places

Environment

  1. Device/emulator/simulator & OS version: Iphone 14 pro, Simulator on MacOS 13.2 (22D49)

Maybe flashList is a solution for this? Ill look into possibly replacing the list later in code

HonestCodeWasTaken avatar Jan 04 '24 15:01 HonestCodeWasTaken

@HonestCodeWasTaken I'm seeing this too. Did you fix it?

t2 avatar Jan 20 '24 21:01 t2

Did you guys ever figure it out? Also having this bug.

comptergeeks avatar Feb 14 '24 22:02 comptergeeks

+1

shuo-hiwintech avatar Jul 22 '24 09:07 shuo-hiwintech