Fix select overlap by aggregate button (#12312) (#12327)

This commit is contained in:
Michael S. Molina 2021-01-07 12:35:38 -03:00 committed by GitHub
parent f48284909d
commit ca07c8cd39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,8 @@ function styled<
Object.assign(restProps, sortableContainerProps);
}
stylesConfig.menuPortal = base => ({ ...base, zIndex: 9999 });
// When values are rendered as labels, adjust valueContainer padding
const valueRenderedAsLabel =
valueRenderedAsLabel_ === undefined ? isMulti : valueRenderedAsLabel_;