`infinite-scroll`: Cannot read properties of undefined (reading 'append')
See original GitHub issuePlease ensure:
- The bug is caused by Refined GitHub. It doesn’t happen if I disable the extension.
Example URLs
Browser(s) used
Google Chrome 97.0.4692.71 (64-bit)
Description
TypeError: Cannot read properties of undefined (reading 'append')
at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/build/refined-github.js:5223:45
at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/build/refined-github.js:1923:97
at runFeature (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/build/refined-github.js:2924:26)
at setupPageLoad (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/build/refined-github.js:2934:40)
at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/build/refined-github.js:2956:35
Console error:
refined-github.js:2886 ❌ infinite-scroll 22.1.11 → TypeError: Cannot read properties of undefined (reading 'append')
at refined-github.js:5223:45
at refined-github.js:1923:97
at runFeature (refined-github.js:2924:26)
at setupPageLoad (refined-github.js:2934:40)
at refined-github.js:2956:35
Include in this issue:
- Screenshots/video/gif demonstrating the bug, if it’s visual
- Console errors, if any
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Cannot read property 'result' of undefined infinite scroll
I've edited the answer, the logic is that new items should be append to vm.items array. and I don't know how the service...
Read more >Cannot read property 'getBoundingClientRect' of undefined ...
I've copied the code from David DeSandro's pen (https://codepen.io/desandro/pen/EXXGem) to my Django project.
Read more >InfiniteScroll bug or problem - ionic-v3
Im getting errors in any page im using InfiniteScroll. This is the error that ionic is giving me. Uncaught TypeError: Cannot read property ......
Read more >Infinite Scroll in React | Full Tutorial - YouTube
Infinite Scroll in React is a highly requested app feature that can be achieved in several ways. ... Your browser can't play this...
Read more >Options - Infinite Scroll
Disable appending by not setting append , for loading JSON or adding your own append behavior like with Masonry or Isotope.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It probably would look weird but OK
EDIT: “Explore repositories” is generated server-side, how can it fail to load 🤔 this bug needs to be more reproducible
Weird, I was only able to reproduce this a single time. It seems that the “Explore” sidebar fails to load once in a while, which causes this line to throw an error:
https://github.com/refined-github/refined-github/blob/c9d133547f45321c28fb7ddb35ffc08189c9082e/source/features/infinite-scroll.tsx#L47
Not sure if it’s worth fixing.