diff --git a/src/BootstrapBlazor.Server/Components/Components/ThemeMode.razor b/src/BootstrapBlazor.Server/Components/Components/ThemeMode.razor index fd9e0330bff..a1b658e6549 100644 --- a/src/BootstrapBlazor.Server/Components/Components/ThemeMode.razor +++ b/src/BootstrapBlazor.Server/Components/Components/ThemeMode.razor @@ -1,7 +1,7 @@ @inherits WebSiteModuleComponentBase @attribute [JSModuleAutoLoader("Components/ThemeMode.razor.js")] -
ShowResize property",
"ModalsSmallPopup": "small popup",
"ModalsBigPopup": "big popup",
- "ModalsOversizedPopup": "Oversized pop-up window",
+ "ModalsOverSizedPopup": "OverSized pop-up window",
"ModalsSuperLargePopup": "super large pop-up window",
"ModalsFullScreenSizeTitle": "Full screen popup",
"ModalsFullScreenSizeIntro": "Just set the property FullScreenSize",
diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json
index daf1d0cdb67..901ded165ba 100644
--- a/src/BootstrapBlazor.Server/Locales/zh-CN.json
+++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json
@@ -389,7 +389,7 @@
"ModalsDialogResizeIntro": "通过设置 ShowResize=\"true\" 可以通过鼠标拉动弹窗右下角进行窗口大小调整",
"ModalsSmallPopup": "小弹窗",
"ModalsBigPopup": "大弹窗",
- "ModalsOversizedPopup": "超大弹窗",
+ "ModalsOverSizedPopup": "超大弹窗",
"ModalsSuperLargePopup": "超超大弹窗",
"ModalsFullScreenSizeTitle": "全屏弹窗",
"ModalsFullScreenSizeIntro": "设置属性 FullScreenSize 即可",
diff --git a/src/BootstrapBlazor/Components/Modal/ModalDialog.razor b/src/BootstrapBlazor/Components/Modal/ModalDialog.razor
index 961535fe7c2..4b14e755ccd 100644
--- a/src/BootstrapBlazor/Components/Modal/ModalDialog.razor
+++ b/src/BootstrapBlazor/Components/Modal/ModalDialog.razor
@@ -76,7 +76,9 @@
}
@if (ShowResize)
{
-
+
}
diff --git a/src/BootstrapBlazor/Components/Responsive/Responsive.cs b/src/BootstrapBlazor/Components/Responsive/Responsive.cs
index 713f54a60d1..aed09863130 100644
--- a/src/BootstrapBlazor/Components/Responsive/Responsive.cs
+++ b/src/BootstrapBlazor/Components/Responsive/Responsive.cs
@@ -36,7 +36,6 @@ public async Task OnResize(BreakPoint breakPoint)
if (OnBreakPointChanged != null && breakPoint != _breakPoint)
{
_breakPoint = breakPoint;
-
await OnBreakPointChanged(breakPoint);
}
}