Skip to content

Commit eaebeeb

Browse files
committed
fix:修复浮动窗口收起时高度不准确
1 parent 4a48e47 commit eaebeeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/BootstrapBlazor.DockView/wwwroot/js/dockview-group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ const dock = (group, floatType) => {
604604
const down = (group, actionContainer) => {
605605
const parentEle = group.element.parentElement
606606
const { top, bottom, height } = parentEle.style
607-
const tabHeight = group.activePanel.view.tab.element.offsetHeight + 2
607+
const tabHeight = group.header.element.offsetHeight || 30
608608
const { packup } = group.getParams();
609609
if (packup?.isPackup) {
610610
group.setParams({ packup: { ...packup, isPackup: false } })

0 commit comments

Comments
 (0)