Fixed issue with dropdown background being height-limited (#594)

* Fixed issue with dropdown background being height-limited

* Fixed height issue in a better way
This commit is contained in:
Harshil Sharma 2021-06-21 15:26:48 +05:30 committed by GitHub
parent cc06e0ff93
commit 67df905a42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View file

@ -171,7 +171,7 @@ exports[`components/properties/user user dropdown open 1`] = `
class=" css-7p3rb2-menu"
>
<div
class=" css-1m3ubgr-MenuList"
class=" css-g29tl0-MenuList"
>
<div
class=" css-gg45go-NoOptionsMessage"

View file

@ -245,7 +245,8 @@ export function getSelectBaseStyle() {
}),
menuList: (provided: CSSObject): CSSObject => ({
...provided,
overflowY: 'unset',
overflowY: 'auto',
overflowX: 'hidden',
}),
}
}

View file

@ -64,7 +64,7 @@
text-overflow: ellipsis;
display: inline-block;
}
.octo-property-value > .Label {

View file

@ -131,6 +131,8 @@ const valueSelectorStyle = {
function ValueSelector(props: Props): JSX.Element {
return (
<CreatableSelect
captureMenuScroll={true}
maxMenuHeight={580}
isMulti={props.isMulti}
isClearable={true}
styles={valueSelectorStyle}