File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1616 <Copyright />
1717 <PackageTags >blazor blazor-component blazor-dialog dialog modal blazor-modal blazordialog blazormodaldialog blazormodal razor razor-components razorcomponents</PackageTags >
1818 <VersionSuffix >$(VersionSuffix)</VersionSuffix >
19- <Version >1.2 .0</Version >
19+ <Version >1.3 .0</Version >
2020 <Version Condition =" '$(VersionSuffix)' != '' " >$(Version)-$(VersionSuffix)</Version >
2121 <Product >BlazorDialog</Product >
2222 </PropertyGroup >
Original file line number Diff line number Diff line change 88 <CascadingValue Value =" this.Input" Name =" DialogInput" >
99 @if (! IsCustom )
1010 {
11- <div class =" blazor-dialog-container @(Centered ? " blazor-dialog-centered " : " " )" style =" z-index :@(1050 + dialogDepth)" >
11+ <div class =" blazor-dialog-container @(Centered ? " blazor-dialog-centered " : " " )" style =" z-index :@(BaseZIndex + dialogDepth)" >
1212 <div class =" blazor-dialog-content-wrapper @ContentWrapperCssClass @AnimationCssClass" >
1313 <div class =" blazor-dialog-content" >
1414 @ChildContent
3333 /// </summary >
3434 [Parameter ] public string Id { get ; set ; }
3535
36+ /// <summary >
37+ /// The base z-index of the dialog when shown. Default: 1050
38+ /// </summary >
39+ [Parameter ] public int BaseZIndex { get ; set ; } = 1050 ;
40+
3641 /// <summary >
3742 /// Use this to show/hide the dialog as a simple component.
3843 /// </summary >
Original file line number Diff line number Diff line change @@ -76,7 +76,12 @@ Make sure that there is a call to `app.UseStaticFiles();` in your server project
7676
7777## Release Notes
7878
79- <details open =" open " ><summary >1.2</summary >
79+ <details open =" open " ><summary >1.3</summary >
80+
81+ > - Added base z-index parameter to dialog component.
82+ </details>
83+
84+ <details ><summary >1.2</summary >
8085
8186> - Added fullscreen mode.
8287 </details>
You can’t perform that action at this time.
0 commit comments