Skip to content

Commit

Permalink
Update components/popover/popover-mixin.js
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Lockhart <dlockhart@users.noreply.github.com>
  • Loading branch information
dbatiste and dlockhart authored Jan 10, 2025
1 parent 60cc346 commit c6f3d4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/popover/popover-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,7 @@ export const PopoverMixin = superclass => class extends superclass {
// add 2 to content width since scrollWidth does not include border
const containerWidth = `${widthOverride + 20}px`;

let maxHeightOverride = '';
if (this.#ifrauContextInfo) maxHeightOverride = `${this.#ifrauContextInfo.availableHeight}px`;
const maxHeightOverride = this.#ifrauContextInfo ? `${this.#ifrauContextInfo.availableHeight}px` : '';

let topOverride;
if (this.#ifrauContextInfo) {
Expand Down

0 comments on commit c6f3d4e

Please sign in to comment.