question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug when scrolling fast

See original GitHub issue

When I scroll very fast up or down, and then stop.

it pass a wrong date on callback loadItemsForMonth

I’ll try to come up with more information soon

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sibeliuscommented, Jul 28, 2017

my agenda component

<Agenda
          theme={calendarTheme}
          items={items}
          loadItemsForMonth={this.loadItemsForMonth}
          renderItem={this.renderItem}
          renderEmptyDate={this.renderEmptyDate}
          rowHasChanged={this.rowHasChanged}
          onDayPress={this.onDayPress}
          onDayChange={this.onDayChange}
        />
loadItemsForMonth = (date: XDate) => {
    const month = new Date(date.year, date.month - 1, 1); // first day of the month
    const start = startOfMonth(month);
    const end = addMonths(start, 2); // fetch 2 months

    this.fetchItems(start, end);
  };

I’ve noticed that somehow the loadItemsForMonth get lost if I scroll to fast.

Sometimes date param o loadItemsForMonth is not the month that is been shown in the screen

0reactions
jkomynocommented, Sep 20, 2017

@tautvilas sorry for replying so late, but yes, it happens also when I’m not on a modal

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug(cdk-virtual-scroll): Scrolling fast makes the viewport blank ...
Steps to reproduce: There are two virtual scroll viewports - the first has the problem. Take the scroll bar with the mouse and...
Read more >
Animation Bug when Scrolling fast - GSAP - GreenSock
Hello, my animation is not ending correctly when i'm scrolling fast. I was looking threads and many people said that it's logic issue...
Read more >
When you scroll very fast in full screen, a bar shows up on the ...
When you scroll very fast in full screen, a bar shows up on the bottom. happens on any website scrolling very fast again...
Read more >
Fix Infinite/Automatic Scrolling On Windows 10/11 PC - YouTube
How to Fix Automatic/Infinite Scrolling On Windows 11/10 PC,Windows 10/11 Scrolling by itself Quick Fixes,Fix Windows 10/11 Keeps Scrolling ...
Read more >
Facebook Keeps Scrolling / Refreshing - Bug Fix - YouTube
Learn how to stop Facebook from refreshing and scrolling by itself. This bug occurs for different reasons but there are number of solutions ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found