We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa6661 commit fbd9e11Copy full SHA for fbd9e11
projects/igniteui-angular/src/lib/services/overlay/position/auto-position-strategy.ts
@@ -141,7 +141,7 @@ export class AutoPositionStrategy extends BaseFitPositionStrategy {
141
*/
142
private verticalPush(connectedFit: ConnectedFit): number {
143
const topExtend = connectedFit.top;
144
- const bottomExtend = connectedFit.bottom - connectedFit.viewPortRect.bottom;
+ const bottomExtend = connectedFit.bottom - connectedFit.viewPortRect.height;
145
if (topExtend < 0) {
146
return Math.abs(topExtend);
147
} else if (bottomExtend > 0) {
0 commit comments