Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ExpansionPanel] Keyboard navigation does not consider disabled state #4463

Open
georgi-sla opened this issue Nov 22, 2024 · 0 comments
Open

Comments

@georgi-sla
Copy link
Contributor

Description

Currently, when the developer is dynamically updating the disabled state of the ExpansionPanel, the keyboard navigation fails to consider the current state and does not work as expected.

Steps To Reproduce

  1. Create an ExpansionPanel.
  2. Dynamically enable/disable it.
  3. Navigate to the component.
  4. Try expanding/collapsing it using either Enter or Space keys.

For further reference, please check out the following StackBlitz demo: https://stackblitz.com/edit/angular-eziaqj

Screenshots or video

No response

Actual Behavior

When the ExpansionPanel is initially enabled and the developer programmatically disables it, the keyboard navigation remains active and allows the user to expand/collapse the component even in cases when it is disabled.
On the other hand, when the component is initially disabled and the developer enables it, the keyboard navigation should also be active and allow the user to expand/collapse the element.

Expected Behavior

The keyboard navigation should correctly consider the state of the ExpansionPanel and should work accordingly - disabled in a disabled component, and enabled in an enabled component.

Browser

All

Browser version

latest

OS type

MacOS

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants