Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid Checkbox Selection - SVG icon always use fallback color #5129

Open
pfaffmann opened this issue Jul 25, 2024 · 0 comments
Open

Grid Checkbox Selection - SVG icon always use fallback color #5129

pfaffmann opened this issue Jul 25, 2024 · 0 comments
Labels
Bug Something isn't working C:Grid FP: Unplanned

Comments

@pfaffmann
Copy link

pfaffmann commented Jul 25, 2024

Bug report

Dear Kendo Team,

Using the Grid Checkbox Selection column i found the following bug. The SVG check icon uses always the fallback color. Therfore it is not possible to set the color of this icon.

Reproduction of the problem

I created this snippet for reproduction. https://dojo.telerik.com/ufUdUnUH

  1. Run the snippet: https://dojo.telerik.com/ufUdUnUH
  2. Select a row in the grid
  3. Observe the color of the checkmark icon in the checkbox

I manually overwrite the --kendo-color-primary and --kendo-color-on-primary variables and expect, that the SVG icon uses the --kendo-color-on-primary color (green <-> #00ff00) as its stroke color, but it is white.

Current behavior

The SVG is set with the css url() function. This function sanitizes the input therfore the expression var(--kendo-color-on-primary, #ffffff) can not be evaluated. The icon uses always the fallback color as stroke color.

Expected/desired behavior

The SVG icon has the same color as set via --kendo-color-on-primary

Environment

  • Kendo UI version: 2024.2.514
  • jQuery version: 3.4.1
  • Browser: all
@iordanGrancharov iordanGrancharov transferred this issue from telerik/kendo-ui-core Aug 1, 2024
@iordanGrancharov iordanGrancharov added the Bug Something isn't working label Aug 1, 2024
@sspasova sspasova added the C:Grid label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working C:Grid FP: Unplanned
Projects
None yet
Development

No branches or pull requests

3 participants