Skip to content

Commit

Permalink
fix(list): list selection scroll error (#1887)
Browse files Browse the repository at this point in the history
  • Loading branch information
berber1016 committed Mar 4, 2022
1 parent 694345a commit b4d28b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/list-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
height: auto;
max-height: 360px;
padding: 0;
.scrollbar(@x: hidden, @y: initial);
.scrollbar();
overflow: initial;
}
& .@{cascader-prefix-cls}--list {
padding: 8px;
Expand All @@ -37,7 +38,8 @@
height: auto;
max-height: 360px;
padding: 0;
.scrollbar(@x: hidden, @y: initial);
.scrollbar();
overflow: initial;
& .@{list-prefix-cls} {
height: auto;
max-height: none;
Expand Down

1 comment on commit b4d28b3

@vercel
Copy link

@vercel vercel bot commented on b4d28b3 Mar 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.