Skip to content

Clicking on disabled Editor tools such as Outdent removes the focus from the edit area #7920

@MihailRizov

Description

@MihailRizov

Bug report

When clicking on seemingly disabled outdent tool the editor lose focus.
Note: the issue is also reproducible with other disabled buttons, such as Undo, Redo and Remove hyperlink - All tools demo

Reproduction of the problem

You can use this demo

  • Click at the beginning of a paragraph.
  • Make sure that the state of the outdent tool is disabled.
  • Click on the outdent tool.

Side note: if you continue to click on the button the editor portion of the demo will be selected indicated by the blue color:
image

Current behavior

The editor lose focus. Thе text has no cursor.

Expected/desired behavior

The editor should remain focused. Thе text should have cursor.

Environment

  • Kendo UI version: 2024.2.514
  • Browser: all

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions