diff --git a/packages/core/client/src/schema-component/antd/list/List.tsx b/packages/core/client/src/schema-component/antd/list/List.tsx index 341df1fa4b6..1a93342f15c 100644 --- a/packages/core/client/src/schema-component/antd/list/List.tsx +++ b/packages/core/client/src/schema-component/antd/list/List.tsx @@ -77,7 +77,7 @@ const InternalList = (props) => { css` .nb-list-container { height: ${height ? height + 'px' : '100%'}; - overflow-y: auto; + overflow-y: ${height ? 'auto' : null}; margin-left: -${token.marginLG}px; margin-right: -${token.marginLG}px; padding-left: ${token.marginLG}px;