mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: 减小 virtual select 高度避免两个滚动条 (#1275)
This commit is contained in:
parent
3b6103f789
commit
13a8aebd45
@ -918,7 +918,7 @@ export class Select extends React.Component<SelectProps, SelectState> {
|
||||
<VirtualList
|
||||
height={
|
||||
filtedOptions.length > 8
|
||||
? 280
|
||||
? 266
|
||||
: filtedOptions.length * itemHeight
|
||||
}
|
||||
itemCount={filtedOptions.length}
|
||||
|
Loading…
Reference in New Issue
Block a user