This is a migrated thread and some comments may be shown as answers.

Keyboard Navigation on AutoComplete Issue

4 Answers 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Veteran
Bill asked on 01 Jul 2019, 04:46 PM

We are experiencing an issue using custom rendering for the autocomplete component. It happens with the demo example as well.

https://www.telerik.com/kendo-react-ui/components/dropdowns/autocomplete/custom-rendering/#toc-items

Once you use the keyboard to navigate past the entry that breaks to a new line (Bosnia & Herzegovina 7) you no longer see the focused selection as you key down. So it seems to be related to the item heights and if they differ. We don't want to set a height since we have a variety of information. Is there anything we can do to alleviate this behavior?

 

Thanks!

4 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 02 Jul 2019, 10:29 AM
Hello, Bill,

Indeed, the AutoComplete relays on the items being the same height to correctly calculate the scroll position.

Currently, an option is to make AutoComplete large enough that all items will be on one line.

If this is possible, please let me know and I will try to see if we can offer another approach.
 
Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Bill
Top achievements
Rank 1
Veteran
answered on 03 Jul 2019, 01:36 PM

Hi Stefan,

Thanks for the reply. It really isn't possible for us to have things on one line since we are bringing in different information based on the template the result uses. However we did notice the behavior seems to work properly on the Kendo UI for jQuery version, which we had previously implemented.

 

Thanks,

Bill

0
Stefan
Telerik team
answered on 04 Jul 2019, 11:21 AM
Hello, Bill,

I agree that with dynamic items this is not a possible option.

I have logged this in our portal:

https://feedback.telerik.com/kendo-react-ui/1417040-autocomplete-focused-item-is-not-set-correctly-if-the-items-are-with-different-height

I have also added some Telerik points to your account.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Bill
Top achievements
Rank 1
Veteran
answered on 08 Jul 2019, 12:02 PM
Great I appreciate your help with this.
Tags
General Discussions
Asked by
Bill
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Bill
Top achievements
Rank 1
Veteran
Share this question
or