You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dimitar-Goshev
changed the title
PanelBar fires onSelect twice if you click on a <label> inside its template
PanelBar fires onSelect twice if you click on a label element inside its template
Oct 28, 2019
@Juveniel After the fix expanding clicking on a PanelBar item with contentUrl navigates to that URL. Also it is not possible anymore to expand such an item with keyboard Enter/Space key.
To reproduce the issue, use panelbar/ajax demo (all items) or panelbar/events demo (Ajax Item and Error Item)
@Juveniel After the second fix, it is not possible to expand PanelBar item with contentUrl at all (clicking on it or through keyboard). Use kendo-ui/panelbar/ajax demo for reproduction.
Bug report
When you place a
<label>
inside the template of a panelbar, and click on that label, the select event fires twice instead of the expected once.Note: works as expected on collapsible items, only items without children exhibit the problem.
Reported in Ticket ID: 1381775
May be related to #2761 and #2752
Reproduction of the problem
reproducible: https://dojo.telerik.com/OXazIKUq
Expected/desired behavior
the event keeps firing only once as if you clicked on any place in the item outside of the label.
Environment
The text was updated successfully, but these errors were encountered: