Open ntacheva opened 2 years ago
Generally, the icon element should not have any interactivity and the cursor: pointer style should not be added to the icon element itself, but rather assigned to a wrapper element.
This is the case with the TreeView component where the cursor: pointer style is added to the wrapper of the icon- the k-treeview-toggle element.
I would suggest a similar thing for the Treelist, Gantt and GridGrouping- either adding a wrapper element with a toggle class and adding cursor: pointer style inside the themes, or adding a wrapper with the following utility class- k-cursor-pointer which would add the needed style.
@jivanova
@TeyaVes I thought that we are moving away from the "k-widget" class. If that is correct, I believe we should define the rendering in this item and sync all teams. Either k-cursor-pointer
or another class is a good approach for us. We should add it in packages html, or in a test once decided so that everyone will have it as a reference.
@jivanova , yes, you are correct, we are moving away from the 'k-widget' class. Once I add the needed wrapper in the packages/html, I'll update the issue here as well.
Describe the bug
In UI for Blazor hovering over the expand/collapse icons of some components displays the default cursor instead of pointer. For example, TreeList, Gantt, grouped Grid.
The issue stems from the lack of a
k-widget
class in Blazor components that targets the cursor pointer in the themes:https://github.com/telerik/kendo-themes/blob/master/packages/default/scss/icons/_layout.scss#L103
To reproduce
Steps to reproduce the behavior:
Expected behavior
Hovering over the expand/collapse icons in the components should display cursor: pointer instead of the default one.
Affected package (please remove the unneeded items)
Affected suites (please remove the unneeded items)
Affected browsers (please remove the unneeded items)