|
<style>
.e-sidebar.e-left.e-open {
transform: rotateX(0deg);
}
</style> |
Hi,
I am dealing with same problem, I guess it is not solved yet.
For sharing the problem I created a new VS Blazor Server template project and on MainLayout.razor I added Syncfusion Sidebar instead of NavMenu component like this:
When I click refresh on browser Sidebar disappears for a moment and comes back. Please see attached video, the background of div is shown for a brief moment. Is there a way to prevent this?
Thanks & best regards
|
<div class="page">
<div class=@sidebar style="background:blue;">
<SfSidebar Width="250px" Animate="false" Created="created">
<ChildContent>
<div style="text-align: center;" class="text-content">
Left Sidebar
</div>
</ChildContent>
</SfSidebar>
</div>
<div class="main">
<div class="content px-4">
@Body
</div>
</div>
</div>
@code{
public string sidebar = "hide";
public void created(){
sidebar = "show";
}
}
<style>
.hide{
display:none;
}
.show{
display:block;
}
</style> |
Hi Sharon,
Thanks for the quick answer.
I ran your sample but the same effect is observed on your sample too.
The attached video shows your sample running. The "Index Page" header is seen behind the sidebar.
Regards
Attachment: Syncfusion_Sidebar2_45218639.rar
|
.e-content-animation{
transition:none;
} |