Skip to content

Commit 01a1fc5

Browse files
anywiepimenovoleg
authored andcommitted
fix(popover): remove popover viewport margin (#UIM-579) (#789)
1 parent d4512fa commit 01a1fc5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/mosaic/core/pop-up/pop-up-trigger.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ import {
3333
import { PopUpPlacements, PopUpTriggers } from './constants';
3434

3535

36-
const VIEWPORT_MARGIN: number = 8;
37-
38-
3936
@Directive()
4037
// tslint:disable-next-line:naming-convention
4138
export abstract class McPopUpTrigger<T> {
@@ -215,7 +212,6 @@ export abstract class McPopUpTrigger<T> {
215212
.flexibleConnectedTo(this.elementRef)
216213
.withTransformOriginOn(this.originSelector)
217214
.withFlexibleDimensions(false)
218-
.withViewportMargin(VIEWPORT_MARGIN)
219215
.withPositions([...EXTENDED_OVERLAY_POSITIONS])
220216
.withScrollableContainers(this.scrollDispatcher.getAncestorScrollContainers(this.elementRef));
221217

0 commit comments

Comments
 (0)