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

DropdownList highlighted item using keyboard not in focus

3 Answers 229 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pawan
Top achievements
Rank 1
Pawan asked on 26 Sep 2019, 02:19 PM

Hi,

When we press key n on keyboard dropdown list is highlighting first item with n key but it's not in focus we have to move scrollbar to see highlighted lighted. similarly with some other items. Highlighting is always right it's just not in view. I am attaching sample data. Is there some limitation .Are there any other way to achieve this.Sample data is big json I am not sure it is the reason. I have utilized the sample mentioned in link https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdownlist/.

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 27 Sep 2019, 06:36 AM

Hello, Pawan,

Thank you for the details.

This occurs because currently, this works only when all items are displayed in a single row. As in the data, there are longer items shown on two lines, the calculations are wrong.

Making the DropDownList bigger solves it:

https://stackblitz.com/edit/react-m72vhk?file=app/main.jsx

Still, we agree that this is not perfect behavior and have an issue to resolve it:

https://github.com/telerik/kendo-react/issues/284

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
Pawan
Top achievements
Rank 1
answered on 27 Sep 2019, 09:47 AM

I used popupsettings prop of dropdownlist to increase just width of popup instead of dropdownlist and it seems to be working fine.

Regards,

Pawan

0
Stefan
Telerik team
answered on 27 Sep 2019, 12:23 PM

Hello, Pawan,

Yes, this is indeed a very nice workaround, as it allows to keep the actual DropDownList the same.

I will share it in the issue, so people of the community can use this interesting workaround.

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
Tags
General Discussions
Asked by
Pawan
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Pawan
Top achievements
Rank 1
Share this question
or