Skip to content

Commit

Permalink
Merge pull request #311 from ebs-integrator/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
devdfan authored Aug 12, 2021
2 parents 5d1de16 + 867b863 commit b563e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ebs-design",
"version": "0.0.1-beta.97",
"version": "0.0.1-beta.98",
"description": "EBS Design System React UI elements.",
"author": "EBS Integrator <[email protected]> (https://ebs-integrator.com/)",
"maintainers": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Options: React.FC<OptionsProps> & OptionsComposition = ({
if (rect?.height && offsetBottom) {
const height = window.innerHeight - offsetBottom;

setMaxHeight(height <= rect.height ? height : rect.height);
setMaxHeight(height <= rect.height ? height : rect.height - +(scrollMode === 'scroll'));
}
}, [ref.current, offsetBottom]);

Expand Down

0 comments on commit b563e9e

Please sign in to comment.