Skip to content

Commit

Permalink
Merge pull request #313 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 b563e9e + bc29884 commit 6b0c176
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const Options: React.FC<OptionsProps> & OptionsComposition = ({

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

React.useEffect(() => {
if (ref.current && !scrollMode && options?.length) {
Expand Down

0 comments on commit 6b0c176

Please sign in to comment.