Skip to content

Incorrect k-selected state handling for the business hours button #4745

@yanmariomenev

Description

@yanmariomenev

Description

If you click the business hours button and focus outside the component, the k-selected class is cleared. However, if the focus remains inside the component, for example, by using Shift + Tab, it focuses the Scheduler component, and the k-selected class remains on the button. Clicking the button multiple times should also update its state, switching between different renderings, and it should not remain selected when the state changes.

Steps To Reproduce

Open any of our examples that has the button rendering, for example - https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#toolbar
Click on the Show business hours button and then Shift + tab, which will focus the Scheduler component. The selected state and k-selected are present in the button element.

Screenshots or video

Screen.Recording.2025-10-20.at.14.09.37.mov

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