-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dropdown-menu): 修复菜单栏和面板分离问题 (#2606)
* fix(dropdown-menu): 修复菜单栏和面板分离问题 * fix(dropdown-menu): 删除快照 * fix(dropdown-menu): 更新快照 * test: update snapshots * feat(dropdown-menu): 收起状态允许触摸菜单栏滑动 --------- Co-authored-by: maureenwan <maureenwan@tencent.com> Co-authored-by: anlyyao <anly_yaw@163.com>
- Loading branch information
1 parent
27a0cf7
commit cf77599
Showing
6 changed files
with
31 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -114,4 +114,11 @@ | |
} | ||
} | ||
} | ||
|
||
&_mask { | ||
position: fixed; | ||
width: 100vh; | ||
top: 0; | ||
left: 0; | ||
} | ||
} |
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
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
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 |
---|---|---|
|
@@ -108,5 +108,7 @@ export default class DropdownMenu extends SuperComponent { | |
|
||
this.toggle(index); | ||
}, | ||
|
||
noop() {}, | ||
}; | ||
} |
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
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 |
---|---|---|
|
@@ -46,5 +46,6 @@ | |
|
||
&-column { | ||
width: 100%; | ||
height: auto; | ||
} | ||
} |