(bug report only)
1. Run this example: https://blazorrepl.telerik.com/cAkKcTYZ39RLN4r548
2. Open the ComboBox popup and navigate through the items in the list by holding down “Down Arrow” key, or by pressing the key rapidly.
(optional)
An exception is thrown and instead of continuing with the next batch of items, navigation is stuck on the first item in the list.
Navigation continues from the next loaded batch of items.
Hello,
A possible workaround that involves two complementary changes (apply both for the best result):
1.
Remove the debounce for virtual/keyboard navigation — your 300 ms
debounce makes the problem significantly worse. For a virtual scroll
combo, debounce only makes sense for text filtering, not for the
page-fetch triggered by scrolling/keyboard. With 300 ms + 400 ms
simulated delay = 700 ms per page load, the keyboard easily outruns it.
2.
Intercept keydown via JS and rate-limit arrow key events, as a
client-side guard. A small JS snippet throttles the arrow keys so the
component never receives a new keydown before the previous virtual page
has had a chance to begin loading. This won't break slow navigation,
since it's only active when keys arrive faster than the threshold.
REPL example that demonstrates the workaround: https://blazorrepl.telerik.com/wUaKwJYN35FxmqTw49
Regards,
Ivan Danchev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.