From 5e4163863795737b93f8bf2efbc1ae983d3fbc72 Mon Sep 17 00:00:00 2001 From: Mikhail Gekhman Date: Fri, 25 Dec 2020 19:09:25 +0500 Subject: [PATCH] fix(select): fix popup position for select with maxHeight --- src/select/select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/select/select.tsx b/src/select/select.tsx index d889712c08..d50c0f357f 100644 --- a/src/select/select.tsx +++ b/src/select/select.tsx @@ -567,7 +567,7 @@ export class Select extends React.Component { for={ this.props.name } className={ this.cn('popup') } directions={ this.props.directions } - height="adaptive" + height={ this.props.maxHeight ? 'default' : 'adaptive' } padded={ false } mainOffset={ this.props.popupMainOffset } secondaryOffset={ this.props.popupSecondaryOffset }