TypeError: Cannot read property 'offset' of undefined
See original GitHub issueWhen scrolling really fast, the following error can always be reproduced.
It appears to be the result of a floating point issue. I was able to reproduce this both on my iPhone and Chrome.
Maybe just parseInt(...)
?
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'offset' of undefined #246
Hello! You guys! This happens because the page tries to fetch the next nonexistent page, fix by: Base('Training Booked') .select({ fields : [' ......
Read more >Uncaught TypeError: Cannot read property 'offset' of undefined
I am getting Uncaught TypeError: Cannot read property 'offset' of undefined. Before that i was getting same exception for 'top' from same ...
Read more >Cannot read property 'offset' of undefined - Airtable Community
Hi, I am trying to load all rows of a base. The code I use is: const airbase = airtable.base('XXXXXXXX').table('someTable') await.
Read more >TypeError: Cannot read property 'offset' of undefined - jQWidgets
I'm getting the error TypeError: Cannot read property 'offset' of undefined but I don't know why…. My JSON is valid and looks like...
Read more >TypeError: Cannot read property 'top' of Undefined in JS
To resolve the "Cannot read property 'top' of undefined" error, make sure that the DOM element you're accessing the top property on exists....
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
For anyone that comes across this, I found that it was because I was passing a decimal value to the scrollToIndex. Math.round or any other like ceil, or floor fixes this issue.
Im running into this currently. Very rare. Very frustrated.