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

Slider Tooltip Callout Position bug #5354

Open
TeyaVes opened this issue Feb 28, 2025 · 0 comments
Open

Slider Tooltip Callout Position bug #5354

TeyaVes opened this issue Feb 28, 2025 · 0 comments
Labels
Bug Something isn't working C: Slider

Comments

@TeyaVes
Copy link
Contributor

TeyaVes commented Feb 28, 2025

Describe the bug
When calculating the position of the slider tooltip callout position, we are using the following styles:

 // Slider tooltip
    .k-slider-tooltip {
        .k-callout-n,
        .k-callout-s {
            margin-inline-start: - list.slash( $kendo-tooltip-callout-size, 2 );
        }

        .k-callout-w,
        .k-callout-e {
            margin-top: - list.slash( $kendo-tooltip-callout-size, 2 );
        }
    }

However, when compiled, the mentioned styles produce invalid CSS:

.k-slider-tooltip .k-callout-n, .k-slider-tooltip .k-callout-s {
    margin-inline-start: -6px / 2;
}

On the other hand, it seems that the callout is positioned correctly despite the invalid CSS, meaning that we need to check if the styles are needed at all.

@TeyaVes TeyaVes added Bug Something isn't working C: Slider labels Feb 28, 2025
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: Slider
Projects
None yet
Development

No branches or pull requests

1 participant