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.

Scrolling too fast will result in a white screen

See original GitHub issue

iOS 14.2

 <RecyclerListView
    layoutProvider={this._layoutProvider}
    dataProvider={this.state.dataProvider}
    rowRenderer={this.rowRenderer}
    renderAheadOffset={1500}
    // disableRecycling={true}
    onEndReached={this.onEndReached}
    onEndReachedThreshold={20}
    scrollViewProps={{
      ref: (ref: any) => this.scrollRef = ref
    }} 
 />

RecyclerListView

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

1reaction
whalemarecommented, Jun 5, 2021

Real solution for this is only optimize performance time of your view rendering.

I create demo with tests:

  1. View rendering <= 15ms 1.1. Scroll: + 1.2. Fast scroll: + 1.3. Extra fast scroll with scrollbar: +

  2. View rendering <= 20ms 2.1. Scroll: + 2.2. Fast scroll: ±, sometimes has empty spaces 2.3. Extra fast scroll with scrollbar: - has empty spaces

  3. View rendering <= 250ms 3.1. Scroll: -, has empty spaces 3.2. Fast scroll: -, has empty spaces and wait long for display items 3.3. Extra fast scroll with scrollbar: - has empty spaces and wait long for display items

But, I have good news too. When you have 1000 items and each take 500ms, when you fast scrolling from 1 to 500, RLV render only minimal set of views (say only [1…20] before scroll and [480…500] after scroll)

Demo: https://github.com/whalemare/react-native-recycler-performance-tests

0reactions
Only-IceSoulcommented, Nov 6, 2021

Recyclerlistview use js thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

when scroll is too fast, white screen appear in angular [closed]
I've been testing this on chrome. During long scrolls data start disappearing from the screen and come back in a few seconds. Is...
Read more >
blank screen during scroll (long lists) · Issue #102 - GitHub
There's no issue if you scroll down or up slowly, but the idea of a native scroll is that the user goes to...
Read more >
986694 - Browser app scrolling shows white screen ...
Give it 1 min to load full website. Try to scroll as fast as possible on 800x480 display device. 4) You will see...
Read more >
Anyone else getting a blank white screen on the Amazon app ...
I'll be looking at a product or list of results and then bam! ... and as soon as I scroll just a tiny...
Read more >
Gallery Screen white screen - Power Platform Community
When you scroll down, the gallery will attempt to perform more operations to get the data. It blanks out when doing so. If...
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