This is a migrated thread and some comments may be shown as answers.

RadToolBar elements stay focused on chrome

1 Answer 45 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Guillaume
Top achievements
Rank 1
Guillaume asked on 03 Jun 2015, 06:27 PM

Hi,

When I click on an element in a RadToolBar on Chrome (version 43), the element stay with the class rtbItemFocused. This leaves the element highlighted. Is it a known issue? Or do I miss something?

On the other hand on IE 11 the behavior is as I expect; the element does not have the rtbItemFocused class after it has been clicked. Therefore it is not highlighted.

Any ideas?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 04 Jun 2015, 01:36 PM
Hello,

We can confirm this is a bug that can be reproduced in Chrome browser. We are sorry for any inconvenience it might have caused you and we will do our best to fix it as soon as possible in one of our future releases.

As a temporary solution, until the bug is fixed, you can subscribe to the RadToolBar's OnClientButtonClicked client-side event and in its event handler remove the added "rtbItemFocused" class as shown below:
function OnClientButtonClicked(sender, eventArgs) {
    var element = eventArgs.get_item().get_element();
    $telerik.$(element).removeClass("rtbItemFocused");
}

You can track the bug's progress on our Feedback Portal and rate/like it if you want.

As a token of gratitude for reporting this issue I updated your Telerik points.

Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ToolBar
Asked by
Guillaume
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or