Open csimpi opened 4 years ago
@csimpi moving the issue to the nativescript-ui-feedback repository as the issue seems related to the specific RadAutoCompleteTextView implementation.
Side note: both behaviour
and behavior
are correct (here)
@NickIliev Thank you! Are you planning to make the ui-feedback repo opensource? It seems that part a bit behind the whole NS, not really maintained, almost every "Rad****" element has some deal-breaker issue and needs workarounds, fixes, patches, hacks etc.. what's the long-term plan around there?
The playground example that you've attached doesn't freeze for me on Android (LG Nexus 5X, so it's old and slow). Even when I remove your for
loop truncation and let it respond with all 2000 items (for just typing "item"), the response is immediate and performant. I can scroll the list without any perceptible lag.
My Phone is a Samsung Note 8.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):√ Getting NativeScript components versions information... √ Component nativescript has 6.5.0 version and is up to date. √ Component tns-core-modules has 6.5.1 version and is up to date. √ Component tns-android has 6.5.1 version and is up to date. × Component tns-ios is not installed.
Describe the bug
RadAutoCompleteTextView
gets extremely slow when I want to search in a bigger list, like 2000+ items. Searching in 2000 items shouldn't take too much time, but forRadAutoCompleteTextView
takes like 30 seconds to get the search results some reason. During this time the whole UI hangs, freezes, can't do anything else.To Reproduce
https://play.nativescript.org/?template=play-ng&id=yvCdMd Open this on an Android device and start type: "Item". For me, the whole UI hangs for long seconds until I get the results.
Expected behavior
The results should appear immediately without blocking the UI.
Sample project
https://play.nativescript.org/?template=play-ng&id=yvCdMd
Additional context
You might fix the
behaviour
word in this bug-report template, the right word isbehavior
.