[new feature] DropdownMenu: add direction prop (#3490)

This commit is contained in:
neverland
2019-06-13 13:09:35 +08:00
committed by GitHub
parent 156ac95382
commit 6b7307a657
10 changed files with 238 additions and 61 deletions
+8 -1
View File
@@ -3,10 +3,17 @@
.van-dropdown-item {
position: fixed;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
&--up {
top: 0;
}
&--down {
bottom: 0;
}
&__content {
position: absolute;
}