Description
In Firefox, there are occasions in which multiple items remain focused (k-focus class is not removed from the blurred item)
Reproduction (if bug)
Second related case:
Expected (if bug)
Only one item should have the k-focus class at a time.
Browser (if bug)
Firefox
Broken Telerik UI for Blazor version (if bug)
3.5.0
If this helps anyone:
The issue in Firefox seems to be that the k-focus class is added to the parent div surrounding the Telerik Control so trying to remove by calling the element id does not work you have to remove it from the parent
I added a JS function to the _layoutHTML page which is called via interop
<script>
function removeClass(_element, _class) {
var el = document.getElementById(_element);
el.removeAttribute(_class);
var parent = el.parentNode;
parent.classList.remove(_class);
console.log("removeClass called>"+_element+" >"+_class);
}
</script>