diff --git a/CHANGELOG.md b/CHANGELOG.md index 626c74e0..281afba2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Precise UI Changelog +## 2.1.8 + +- Fixed max height dropdown + ## 2.1.7 - Fix `onChange` double trigger on clicking `AccordionTable` expand icon diff --git a/package.json b/package.json index ac8f91af..14226af8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "precise-ui", - "version": "2.1.7", + "version": "2.1.8", "description": "Precise UI React component library powered by Styled Components.", "keywords": [ "react", diff --git a/src/components/DropdownField/DropdownFieldInt.tsx b/src/components/DropdownField/DropdownFieldInt.tsx index 8864d65b..9596af4b 100644 --- a/src/components/DropdownField/DropdownFieldInt.tsx +++ b/src/components/DropdownField/DropdownFieldInt.tsx @@ -89,7 +89,7 @@ const StyledStandardWrapper = styled('ul')` ${themed(({ border, theme: { ui0, ui4 } }) => border === InteractiveListBorderType.none ? ui0 : ui4, )}; - max-height: 50vh; + max-height: 40vh; ${props => props.direction === InteractiveListDirection.normal ? 'border-top-color: transparent'