PanelBar .k-focus

1 Answer 13 Views
PanelBar
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan asked on 15 Oct 2025, 02:57 PM
Hi Telerik Team,

I’ve noticed that in the PanelBar component, the element .k-link.k-selected receives the .k-focus class even when it’s clicked with the mouse.

This behavior causes a visible focus style to appear after mouse interactions.
For our design system, we’d like to preserve focus styling only when navigating via keyboard (Tab), not when clicking with the mouse.

Could you please advise if there’s a way to adjust or override this behavior without breaking the normal tab-focus functionality?

We are currently customizing Telerik React Kendo components to match our UI/UX requirements.

Thank you!

Regards,
Bohdan

1 Answer, 1 is accepted

Sort by
1
Accepted
Filip
Telerik team
answered on 17 Oct 2025, 09:35 AM

Hello, Bohdan,

While the PanelBar currently does not expose a built-in mechanism for applying the focus styling only when navigating via the keyboard, I can suggest using CSS in order to scope the visuals to the container’s :focus-visible state. This approach will preserve keyboard navigation, but suppress the mouse-click focus. I have prepared a runnable example that showcases this approach in action:

Please let me know in case further questions arise on this matter and I will gladly assist.

Regards,
Filip
Progress Telerik

Your perspective matters! Join other professionals in the State of Designer-Developer Collaboration 2025: Workflows, Trends and AI survey to share how AI and new workflows are impacting collaboration, and be among the first to see the key findings.
Start the 2025 Survey
Tags
PanelBar
Asked by
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Filip
Telerik team
Share this question
or