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 d4512fa commit 01a1fc5Copy full SHA for 01a1fc5
packages/mosaic/core/pop-up/pop-up-trigger.ts
@@ -33,9 +33,6 @@ import {
33
import { PopUpPlacements, PopUpTriggers } from './constants';
34
35
36
-const VIEWPORT_MARGIN: number = 8;
37
-
38
39
@Directive()
40
// tslint:disable-next-line:naming-convention
41
export abstract class McPopUpTrigger<T> {
@@ -215,7 +212,6 @@ export abstract class McPopUpTrigger<T> {
215
212
.flexibleConnectedTo(this.elementRef)
216
213
.withTransformOriginOn(this.originSelector)
217
214
.withFlexibleDimensions(false)
218
- .withViewportMargin(VIEWPORT_MARGIN)
219
.withPositions([...EXTENDED_OVERLAY_POSITIONS])
220
.withScrollableContainers(this.scrollDispatcher.getAncestorScrollContainers(this.elementRef));
221
0 commit comments