From b66d04b16048e9ea0fd484356c87e477353fc0c1 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Sun, 22 Dec 2024 09:08:40 +0330 Subject: [PATCH] fix seq value --- .../Components/ProLayout/BitCascadingValueProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs b/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs index c6fd45a44c..4dc929cf99 100644 --- a/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs +++ b/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs @@ -40,7 +40,7 @@ protected override void BuildRenderTree(RenderTreeBuilder builder) rf = b => { CreateCascadingValue(b, s, v.Name, v.Value, v.IsFixed, r); }; - seq += v.Name.HasValue() ? 4 : 3; + seq += v.Name.HasValue() ? 5 : 4; } builder.AddContent(seq, rf); @@ -50,7 +50,7 @@ protected override void BuildRenderTree(RenderTreeBuilder builder) private void CreateCascadingValue(RenderTreeBuilder builder, int seq, string? name, - object? value, + object value, bool isFixed, RenderFragment? childContent) {