We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

slider Ticks in tabs Shattered

Thread ID:

Created:

Updated:

Platform:

Replies:

148087 Oct 4,2019 01:33 PM UTC Oct 8,2019 08:49 AM UTC Blazor 1
loading
Tags: Range Slider
ebi torabi
Asked On October 4, 2019 01:33 PM UTC

Please see attached screenshot

Attachment: sliderintabs_d43f1bea.rar

Mohan Ravi [Syncfusion]
Replied On October 8, 2019 08:49 AM UTC

Hello Torabi, 

Thanks for using Syncfusion products. 

We have validated the reported issue Ticks misposition in Slider inside the Tab, the cause of this problem is Tab component content will be initially rendered in the “display none” style.  

In order to position the ticks and value the Slider needs to know the BoundingClientRect properties of the container element, but when an element is hidden these properties will be invalid. 

But you can solve this issue by calling Reposition API inside Slider Created event. I have attached a sample showcasing solution below. Please get back to us if you need to further assistance on this. 


Regards, 
Mohan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon