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

Kendo Dropdown : Suggestion list hover on selected value showing red highlight -How to remove the red highlight

2 Answers 1405 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sankar
Top achievements
Rank 1
Sankar asked on 18 Jul 2018, 10:33 AM

Hi Team,

I am using Kendo Dropdown.

on Suggestion list if I selected one value and hover on the selection showing red highlight, As per my requirement I should not use any red colors.

How to remove the red highlight?

Please refer the attachment

Thanks

Sankar

miguel
Top achievements
Rank 1
commented on 31 Oct 2022, 04:00 AM

Hi Team,

I am using Kendo Dropdown.

on Suggestion list if I selected one value and hover on the selection showing red highlight, As per my requirement I should not use any red colors.

How to remove the red highlight?

Please refer the attachment

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 19 Jul 2018, 02:16 PM
Hello Sankar,

You can overwrite the built-in styling in CSS by targeting the respective selected element (.k-list .k-item.k-state-selected) and its hovered state (.k-list .k-item.k-state-selected:hover) and providing the desired custom styling, e.g.:

encapsulation: ViewEncapsulation.None,
  styles: [`
    .k-list .k-item.k-state-selected, .k-list .k-item.k-state-selected:hover {
      background-color: transparent;
      color: inherit;
    }
  `]

https://plnkr.co/edit/dfD723IQRcaXXYrKOEHG?p=preview

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Sankar
Top achievements
Rank 1
answered on 23 Jul 2018, 12:31 PM

Thanks Dimiter Topalov .

working as expected

Ravindra
Top achievements
Rank 1
commented on 28 Nov 2023, 10:54 AM

I want to set radius and selected option item background color but above css styling not working for "kendo-pager-page-sizes" k-list. I need help in this. Thanks !!

 

Ravindra
Top achievements
Rank 1
commented on 28 Nov 2023, 02:00 PM

I resolved the issue. Please skip above comment.
Tags
General Discussions
Asked by
Sankar
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Sankar
Top achievements
Rank 1
Share this question
or