You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some variables, like kendo-grid-padding-y and kendo-grid-padding-x, are assigned default values, such as kendo-spacing-2. The value of kendo-spacing-2 uses the rem measurement unit. However, if you change the value of kendo-grid-padding-y to a hard-coded value or to another variable that uses the same metric unit, the validation fails.
To Reproduce
Steps to reproduce the behavior:
Open a new Kendo Default project.
Open the Grid component.
Enable the component-specific variables.
Set the value of kendo-grid-padding-y to 1rem.
Actual Results
The validation fails, even though the kendo-grid-padding-y variable refers to the variable kendo-spacing-2 (rem-based) by default.
Issue 2: The original issue is reproducible if there is more than one level of referance
Open Kendo Default project
Open the Grid
Check that $kendo-grid-cell-padding-x is equal to $kendo-grid-padding-x which equal $kendo-spacing-2 = 1rem
Try to set $kendo-grid-cell-padding-x to 2rem
Actual: the validation fails and the original value is restored. If the user first sets $kendo-grid-padding-x to 1rem, than $kendo-grid-cell-padding-x can also be set to rem values
Expected: All variables that can be traced to rem values can accept them
+1 from t.1677308 (Kendo Default theme - changing the kendo-border-radius variable to any other radii-generated variables that uses REM)
The client hits "the value is invalid. The supported units are: px, pt" when trying to change the kendo-border-radius-lg to $kendo-border-raduis-md and vice verse.
Describe the bug
Some variables, like
kendo-grid-padding-y
andkendo-grid-padding-x
, are assigned default values, such askendo-spacing-2
. The value ofkendo-spacing-2
uses the rem measurement unit. However, if you change the value ofkendo-grid-padding-y
to a hard-coded value or to another variable that uses the same metric unit, the validation fails.To Reproduce
Steps to reproduce the behavior:
kendo-grid-padding-y
to1rem
.Actual Results
The validation fails, even though the
kendo-grid-padding-y
variable refers to the variablekendo-spacing-2
(rem-based) by default.Expected behavior
The validation doesn't fail.
Screenshots
![Image](https://private-user-images.githubusercontent.com/109748926/395555205-f0ee3ef8-d113-482a-a5f5-a8de08f03aa5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWI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JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwNDMwNDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNmViYmU3NmM2Mzk4ZmZiY2RlMmQ4MTFiYjM1MzIwZDQ3ZTYzNzYzOGUwMTk0OTNmNGUwOTY3NWE1Mzk2MzA2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.RAQoUHSlYJl60s32K23bKNht-tB8eKNt1ebLFp_PJVM)
Related Items
https://feedback.telerik.com/themebuilder/1655237-allow-rem-values-in-all-metric-variables
Reported through t.1673350.
The text was updated successfully, but these errors were encountered: