|
1 |
| -import { ConnectedPositioningStrategy } from './../services/overlay/position/connected-positioning-strategy'; |
2 | 1 | import { CommonModule } from '@angular/common';
|
3 | 2 | import {
|
4 | 3 | AfterViewInit, ChangeDetectorRef, Component, ContentChild, ElementRef, EventEmitter, HostBinding, HostListener,
|
@@ -30,7 +29,7 @@ import { IgxInputGroupModule, IgxInputGroupComponent } from '../input-group/inpu
|
30 | 29 | import { IgxComboItemComponent } from './combo-item.component';
|
31 | 30 | import { IgxComboDropDownComponent } from './combo-dropdown.component';
|
32 | 31 | import { IgxComboFilteringPipe, IgxComboGroupingPipe } from './combo.pipes';
|
33 |
| -import { OverlaySettings, AbsoluteScrollStrategy } from '../services/public_api'; |
| 32 | +import { OverlaySettings, AbsoluteScrollStrategy, AutoPositionStrategy } from '../services/public_api'; |
34 | 33 | import { Subject } from 'rxjs';
|
35 | 34 | import { takeUntil } from 'rxjs/operators';
|
36 | 35 | import { DisplayDensityBase, DisplayDensityToken, IDisplayDensityOptions } from '../core/density';
|
@@ -156,7 +155,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
|
156 | 155 | private _onTouchedCallback: () => void = noop;
|
157 | 156 | private _overlaySettings: OverlaySettings = {
|
158 | 157 | scrollStrategy: new AbsoluteScrollStrategy(),
|
159 |
| - positionStrategy: new ConnectedPositioningStrategy(), |
| 158 | + positionStrategy: new AutoPositionStrategy(), |
160 | 159 | modal: false,
|
161 | 160 | closeOnOutsideClick: true,
|
162 | 161 | excludePositionTarget: true
|
|
0 commit comments