Skip to content

Commit

Permalink
Merge pull request #365 from androsssos/bugfix/dropdownHight
Browse files Browse the repository at this point in the history
Bugfix/dropdown hight
  • Loading branch information
klaidigorishti authored Feb 7, 2022
2 parents 78acd98 + f357ff0 commit 8ee4c43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/components/DropdownField/DropdownFieldInt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const StyledStandardWrapper = styled('ul')<StyledStandardWrapperProps>`
${themed<StyledStandardWrapperProps>(({ border, theme: { ui0, ui4 } }) =>
border === InteractiveListBorderType.none ? ui0 : ui4,
)};
max-height: 50vh;
max-height: 40vh;
${props =>
props.direction === InteractiveListDirection.normal
? 'border-top-color: transparent'
Expand Down

0 comments on commit 8ee4c43

Please sign in to comment.