Disable keyboard shortcuts in ExpansionPanel

0 Answers 404 Views
PanelBar
Speedy
Top achievements
Rank 1
Speedy asked on 23 Nov 2022, 01:57 PM

Hi,

Is it possible to disable the keyboard shortcuts on an ExpansionPanel? I am having a form inside, and every time I fill in a space, the ExpansionPanel is collapsing

Wissam
Telerik team
commented on 24 Nov 2022, 08:27 AM

Hi, Karsten,

Currently the ExpansionPanel keyboard navigation can not be disabled explicitly, but you can wrap your form with a div element and stop the propagation of the keyboard events so that they are not propagated to the component:

I hope this helps, but please let us know if you have any further questions.

Regards,
Wissam
Progress Telerik
Speedy
Top achievements
Rank 1
commented on 25 Nov 2022, 06:56 AM

Hi Wissam,

Thats great, thank for you reply, it works as intended :)

Wissam
Telerik team
commented on 25 Nov 2022, 09:14 AM

You are welcome, Karsten, I am glad that my reply was helpful to you.

No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
Speedy
Top achievements
Rank 1
Share this question
or