DropDownButton onItemClick not firing

1 Answer 55 Views
DropDownButton
Kyle Smith
Top achievements
Rank 1
Kyle Smith asked on 10 Apr 2023, 05:23 PM

I am unable to have the onItemClick event fire when selecting an item from the DropDownButton.

In my app the onItemClick seems to only fire if I double click on the item super fast. The item is contained within a bootstrap modal.

Your own demo appears to exhibit this same behavior as the Event Log never shows "item click" (https://www.telerik.com/kendo-react-ui/components/buttons/dropdownbutton/events/).

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 11 Apr 2023, 11:39 AM

Hi Kyle,

I have tested the demo and it seems that the onItemClick event is not firing when the onClose event is handled. Removing the handler for the onClose events allows the onItemClick to fire correctly:

We also have this problem logged and you can follow its progress in the link below:

 

Regards,
Konstantin Dikov
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.

Kyle Smith
Top achievements
Rank 1
commented on 11 Apr 2023, 12:28 PM

Thank you!
Tags
DropDownButton
Asked by
Kyle Smith
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or