I'm using the default theme: "@progress/kendo-theme-default": "4.18.2" with some custom overrides.
The generated CSS has the following incorrect rule (because of the unitless zero, see https://www.w3.org/TR/css3-values/#calc-type-checking ):
.k-combobox .k-dropdown-wrap .k-clear-value {
calc( calc( 1.2em + 8px) + 0 + 6px)
}
This rules comes from the following scss:
$picker-icon-offset: calc( #{$picker-select-calc-size} + #{$picker-select-border-width} + #{$input-icon-offset}) !default;
The unitless zero comes from this value:
$picker-select-border-width: 0 !default;
As a result, the "X" in a combobox overlaps the value.
Hello Anna,
This issue should be resolved with the following PR that converts the "0"s to "0px":
Taking the above into consideration, please keep your current workflow with postcss-calc and try compiling with the dev version of the themes to verify that the issue is successfully resolved.
Regards,
Dimitar
Progress Telerik
I added postcss, postcss-calc and autoprefixer to my workflow (webpack based), but the problem persists.
Per https://github.com/postcss/postcss-calc :
When multiple units are mixed together in the same expression, the calc() statement is left as is, to fallback to the W3C calc() implementation.
Hello Anna,
The sass-based themes rely on postcss, autoprefixer and postcss-calc to properly compile the them. This is used internally, thus the distributed compiled .css files with Kendo UI do not exhibit the described issue.
Taking the above into consideration, I assume that you are compiling a custom version of the themes. If that is indeed the case, then you can follow the guide on correctly compiling the sass-based themes linked below:
Regards,
Dimitar
Progress Telerik