diff --git a/src/wwElement_Select.vue b/src/wwElement_Select.vue index e141832..c51d60c 100644 --- a/src/wwElement_Select.vue +++ b/src/wwElement_Select.vue @@ -205,7 +205,7 @@ export default { const actualDropdownHeight = dropdownElement.value?.getBoundingClientRect().height || 0; const estimatedDropdownHeight = parseInt(props.content.dropdownMaxHeight) || 300; - const dropdownHeight = actualDropdownHeight > 50 ? actualDropdownHeight : estimatedDropdownHeight; + const dropdownHeight = actualDropdownHeight > 0 ? actualDropdownHeight : estimatedDropdownHeight; const spaceBelow = viewportHeight - triggerRect.bottom; const spaceAbove = triggerRect.top;