Closed AlexBa closed 4 years ago
This is an example for the list. I have about 800-1000 entries with infinity scroll (about 100 per page).
This is now fixed in the new version of the plugin available in the ProPlugins NPM registry.
All future work of this plugin will be available exclusively as part of ProPlugins initiative. So if you want to get the latest updates/fixes/features make sure you subscribe to the service. You get all my plugins plus many of the most used and high quality plugins for a small monthly subscription fee.
Hello, sometimes my Nativescript app crashes due this error:
This problem occurs if I scroll a large
ListView
very fast. It seems like we have a race condition here._this._listPicker
is null and thus it's not possible to call theselectRowInComponentAnimated
method.Currently, I'm using Nativescript 6 with Vue.js. This is the relevant component, which is embedded into a
ListView
(not used in the code below):Note, that I have avoided the
selectedIndex
property on the dropdown, because the chance to get the null-error is much higher, if I use this property.Do you have any ideas how to fix this bug? I think it's working all the time, if you do a null-check before this critical line. But it seems like an ugly solution for me at the first glance.
Thank you in advance!