-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mis-web): 解决 tab 宽度变化后疯狂抖动的问题 (#992)
tab 宽度变化后 antd tab 组件计算宽度有误导致了 tab 组件疯狂抖动。暂时用 hack 的方式阻止了抖动 抖动的原因是 ant-tabs-nav-operations 的 position 属性在 absolute 和 static 间来回切换。这个属性主要是控制标签过多时的滚动和下拉菜单。 SCOW 暂时 tab 过多的情况,所以 hack 下直接设置该元素 display: none
- Loading branch information
1 parent
04e5d68
commit b84e4f9
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@scow/lib-web": patch | ||
--- | ||
|
||
暂时解决 tab 标签在最右侧时的抖动问题 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters