Hello. I've updated the Syncfusion version on my project to version 18.1.0.58 and this bug is still reproducing. Not sure if there is something wrong that I am doing but no matter what action I perform on the splitter (resize or expand/collapse) the tabs remain in the same state. I've attached 2 images with the current behavior I have on my application.
Before collapse of the right panel:
After collapse of the right panel
|
<SfSplitter Height="200px" Width="800px">
<SplitterEvents Collapsed="OnCollapsed" Expanded="OnExpanded" Resizing="OnResizing"></SplitterEvents>
<SplitterPanes>
<SplitterPane Size="600px">
<ContentTemplate>
<SfTab @ref="TabObj" OverflowMode="OverflowMode.Popup">
<TabItems>
<TabItem Content="HyperText Markup Language, commonly referred to as HTML, is the standard markup language used to create web pages. Along with CSS, and JavaScript, HTML is a cornerstone technology, used by most websites to create visually engaging web pages, user interfaces for web applications, and user interfaces for many mobile applications.[1] Web browsers can read HTML files and render them into visible or audible web pages. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language.">
<ChildContent>
<TabHeader Text="HTML"></TabHeader>
</ChildContent>
</TabItem>
...
</TabItems>
</SfTab>
</ContentTemplate>
</SplitterPane>
<SplitterPane>
<ContentTemplate>
<div>
<div class="content">
<h3 class="h3">Schedule </h3>
The ASP.NET Scheduler, a.k.a. event calendar, facilitates almost all calendar features, thus allowing users to manage their time efficiently
</div>
</div>
</ContentTemplate>
</SplitterPane>
</SplitterPanes>
</SfSplitter>
@code{
SfTab TabObj;
private void OnExpanded(Syncfusion.Blazor.Layouts.ExpandedEventArgs args)
{
TabObj.Refresh(); // To Refresh Tab while expanding splitter pane
}
private void OnCollapsed(Syncfusion.Blazor.Layouts.ExpandedEventArgs args)
{
TabObj.Refresh(); // To Refresh Tab while collapsing splitter pane
}
private void OnResizing(Syncfusion.Blazor.Layouts.ResizingEventArgs args)
{
TabObj.Refresh(); // To Refresh Tab while resizing splitter pane
}
} |
Hi Mihai,
Thanks for your update.
We have validated your reported case with specified version 18.1.0.58 but the Tab state maintained properly while resizing, expanding and collapsing splitter panels. We suspect that you may not refresh the Tabs during splitter panes resizing, expanding and collapsing. So, please ensure whether you have refresh the Tab at sample end and refer the below code for that.
<SfSplitter Height="200px" Width="800px"><SplitterEvents Collapsed="OnCollapsed" Expanded="OnExpanded" Resizing="OnResizing"></SplitterEvents><SplitterPanes><SplitterPane Size="600px"><ContentTemplate><SfTab @ref="TabObj" OverflowMode="OverflowMode.Popup"><TabItems><TabItem Content="HyperText Markup Language, commonly referred to as HTML, is the standard markup language used to create web pages. Along with CSS, and JavaScript, HTML is a cornerstone technology, used by most websites to create visually engaging web pages, user interfaces for web applications, and user interfaces for many mobile applications.[1] Web browsers can read HTML files and render them into visible or audible web pages. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language."><ChildContent><TabHeader Text="HTML"></TabHeader></ChildContent></TabItem>...</TabItems></SfTab></ContentTemplate></SplitterPane><SplitterPane><ContentTemplate><div><div class="content"><h3 class="h3">Schedule </h3>The ASP.NET Scheduler, a.k.a. event calendar, facilitates almost all calendar features, thus allowing users to manage their time efficiently</div></div></ContentTemplate></SplitterPane></SplitterPanes></SfSplitter>@code{SfTab TabObj;private void OnExpanded(Syncfusion.Blazor.Layouts.ExpandedEventArgs args){TabObj.Refresh(); // To Refresh Tab while expanding splitter pane}private void OnCollapsed(Syncfusion.Blazor.Layouts.ExpandedEventArgs args){TabObj.Refresh(); // To Refresh Tab while collapsing splitter pane}private void OnResizing(Syncfusion.Blazor.Layouts.ResizingEventArgs args){TabObj.Refresh(); // To Refresh Tab while resizing splitter pane}}
You can get the above sample using the following link.Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ResizeTabInsideSplitter-1846686506
Kindly check with shared sample and get back to us, if this issue may still persist.
RegardsAlagumeena.K
Hi Mihai,Sorry for the inconvenience caused.We have checked your reported issue with shared video demo and we could replicate the Tab layout issue at our end. So, we considered this as defect and logged the defect report for that. Also, you can track the issue status by the following link.Feedback Link: https://www.syncfusion.com/feedback/15816/tab-items-not-properly-shown-when-selecting-a-tab-from-popup-container-which-isWe will fix and ensure with possible cases to avoid this kind of inconvenience in future and it will be available in our upcoming patch release on 2nd week of July, 2020.RegardsAlagumeena.K
Hi Mihai,
We are glad to announce that our latest weekly release in
the version 18.2.0.45 has been rolled out successfully. In that release, we
have fixed the reported issue. So, we
suggest you upgrade our Syncfusion packages to avail of the fix in your end.
Please find the links below.
NuGet Link: https://www.nuget.org/packages/Syncfusion.Blazor/18.2.0.45
Release notes: https://blazor.syncfusion.com/documentation/release-notes/18.2.45/?type=all#tabs
Kindly get back to us if you need any further assistance.
Regards,
Vengatesh
|
<SfSplitter>
<SplitterPanes>
<SplitterPane Collapsible="true" @bind-Collapsed = "collapsed">
</SplitterPane>
</SplitterPanes>
</SfSplitter>
@code {
private bool collapsed { get; set; } = false;
}
|