Skip to content

Commit abb35a9

Browse files
authored
fix: can't scroll when vertical mode in safari (#374)
* fix: can't scroll when vertical mode in safari * chore: update example
1 parent 79dadcb commit abb35a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

assets/index.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@
6565

6666
&-list {
6767
display: flex;
68+
flex: 1 0 auto;
6869
position: relative;
6970
transition: transform 0.3s;
7071
}
7172

7273
// >>>>>>>> Operations
7374
&-operations {
7475
display: flex;
76+
flex: 1 0 auto;
7577

7678
&-hidden {
7779
position: absolute;

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"paths": {
1212
"@/*": ["src/*"],
1313
"@@/*": ["src/.umi/*"],
14-
"rc-tabs": ["src/index.tsx"]
14+
"rc-tabs": ["src/"]
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)