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 f6fb822 commit 5fa9912Copy full SHA for 5fa9912
projects/igniteui-angular/src/lib/services/overlay/position/auto-position-strategy.ts
@@ -119,7 +119,7 @@ export class AutoPositionStrategy extends BaseFitPositionStrategy {
119
*/
120
private horizontalPush(connectedFit: ConnectedFit): number {
121
const leftExtend = connectedFit.left;
122
- const rightExtend = connectedFit.right - connectedFit.viewPortRect.right;
+ const rightExtend = connectedFit.right - connectedFit.viewPortRect.width;
123
// if leftExtend < 0 overlay goes beyond left end of the screen. We should push it back with exactly
124
// as much as it is beyond the screen.
125
// if rightExtend > 0 overlay goes beyond right end of the screen. We should push it back with the
0 commit comments