Hi Michael Pusch,
Greetings from Syncfusion support.
We have checked your reported problem with Slider component. Since, you are rendering the Slider as a child component for Dialog component and displaying the dialog only on a button click. On initial rendering, the parent(Dialog) of the Slider will have no width. So that Slider is not rendered properly.
We have deprecated the refresh method. To resolve your problem, we suggest you to call the Reposition method of slider component inside the Dialog open event.
Please, refer the below code snippet.
|
<SfDialog IsModal="true" Width="@width" ShowCloseIcon="false" CssClass="piddia">
<DialogEvents Opened="open"></DialogEvents>
<DialogTemplates>
</DialogTemplates>
</SfDialog>
public void open()
{
this.slider.Reposition();
} |
Please, refer to the modified sample for your requirement.
Please let us know, if you need any further assistance.
Regards,
Sowmiya.P