mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(select-menu): max-height not correct when virtual
This commit is contained in:
parent
ef7fea8e78
commit
f08b5b9229
@ -15,8 +15,8 @@
|
||||
v-if="!empty"
|
||||
ref="scrollbarRef"
|
||||
:scrollable="scrollable"
|
||||
:container="virtualListContainer"
|
||||
:content="virtualListContent"
|
||||
:container="virtualScroll && virtualListContainer"
|
||||
:content="virtualScroll && virtualListContent"
|
||||
@scroll="doScroll"
|
||||
>
|
||||
<virtual-list
|
||||
|
@ -13,6 +13,9 @@ export default c([
|
||||
cM(size + '-size', {
|
||||
padding
|
||||
}, [
|
||||
cB('scrollbar', {
|
||||
maxHeight: menuHeight
|
||||
}),
|
||||
cB('virtual-list', {
|
||||
maxHeight: menuHeight
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user