Skip to content

Pressing Enter on a disabled DropDownButton item closes the popup #4885

@zstoyanova9

Description

@zstoyanova9

Description

When a disabled item in the DropDownButton popup receives keyboard focus, pressing Enter causes the popup to close. Clicking the disabled item with the left mouse button also causes the popup to close.

Steps To Reproduce

  1. Open the following demo - https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/disabled-state#disabling-action-items
  2. Open the User Settings DropDownButton (the first item, which is disabled, will be focused) and press Enter.

Screenshots or video

No response

Actual Behavior

The DropDownButton popup closes when Enter is pressed on a disabled item or when clicking the item.

Expected Behavior

Pressing Enter or clicking a disabled item should cause no action to be taken - the DropDownButton popup should remain open.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions