Skip to content

Commit

Permalink
Prettier/Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
atmgrifter00 committed Mar 28, 2024
1 parent aacb316 commit fb9eb20
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/nimble-components/src/combobox/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,9 @@ export class Combobox
? this.positionAttribute
: this.position;

// eslint-disable-next-line operator-linebreak
this.maxHeight =
// eslint-disable-next-line no-bitwise
this.position === SelectPosition.above
? ~~currentBox.top
: ~~availableBottom;
this.maxHeight = this.position === SelectPosition.above
? Math.trunc(currentBox.top)
: Math.trunc(availableBottom);
}

private get isAutocompleteInline(): boolean {
Expand Down

0 comments on commit fb9eb20

Please sign in to comment.