(layout/common) Explicitly define the overlay position strategy properties

(apps/contacts) Explicitly define the overlay position strategy properties
(apps/mailbox) Explicitly define the overlay position strategy properties
(apps/tasks) Explicitly define the overlay position strategy properties
This commit is contained in:
sercan 2021-06-25 22:57:14 +03:00
parent 1659d4babd
commit f369206ef8
6 changed files with 9 additions and 9 deletions

View File

@ -167,7 +167,7 @@ export class MessagesComponent implements OnInit, OnDestroy
scrollStrategy : this._overlay.scrollStrategies.block(), scrollStrategy : this._overlay.scrollStrategies.block(),
positionStrategy: this._overlay.position() positionStrategy: this._overlay.position()
.flexibleConnectedTo(this._messagesOrigin._elementRef.nativeElement) .flexibleConnectedTo(this._messagesOrigin._elementRef.nativeElement)
.withLockedPosition() .withLockedPosition(true)
.withPush(true) .withPush(true)
.withPositions([ .withPositions([
{ {

View File

@ -167,7 +167,7 @@ export class NotificationsComponent implements OnInit, OnDestroy
scrollStrategy : this._overlay.scrollStrategies.block(), scrollStrategy : this._overlay.scrollStrategies.block(),
positionStrategy: this._overlay.position() positionStrategy: this._overlay.position()
.flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement) .flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement)
.withLockedPosition() .withLockedPosition(true)
.withPush(true) .withPush(true)
.withPositions([ .withPositions([
{ {

View File

@ -221,7 +221,7 @@ export class ShortcutsComponent implements OnInit, OnDestroy
scrollStrategy : this._overlay.scrollStrategies.block(), scrollStrategy : this._overlay.scrollStrategies.block(),
positionStrategy: this._overlay.position() positionStrategy: this._overlay.position()
.flexibleConnectedTo(this._shortcutsOrigin._elementRef.nativeElement) .flexibleConnectedTo(this._shortcutsOrigin._elementRef.nativeElement)
.withLockedPosition() .withLockedPosition(true)
.withPush(true) .withPush(true)
.withPositions([ .withPositions([
{ {

View File

@ -369,9 +369,9 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy
scrollStrategy : this._overlay.scrollStrategies.block(), scrollStrategy : this._overlay.scrollStrategies.block(),
positionStrategy: this._overlay.position() positionStrategy: this._overlay.position()
.flexibleConnectedTo(this._tagsPanelOrigin.nativeElement) .flexibleConnectedTo(this._tagsPanelOrigin.nativeElement)
.withFlexibleDimensions() .withFlexibleDimensions(true)
.withViewportMargin(64) .withViewportMargin(64)
.withLockedPosition() .withLockedPosition(true)
.withPositions([ .withPositions([
{ {
originX : 'start', originX : 'start',

View File

@ -304,9 +304,9 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy
scrollStrategy : this._overlay.scrollStrategies.block(), scrollStrategy : this._overlay.scrollStrategies.block(),
positionStrategy: this._overlay.position() positionStrategy: this._overlay.position()
.flexibleConnectedTo(this._infoDetailsPanelOrigin._elementRef.nativeElement) .flexibleConnectedTo(this._infoDetailsPanelOrigin._elementRef.nativeElement)
.withFlexibleDimensions() .withFlexibleDimensions(true)
.withViewportMargin(16) .withViewportMargin(16)
.withLockedPosition() .withLockedPosition(true)
.withPositions([ .withPositions([
{ {
originX : 'start', originX : 'start',

View File

@ -217,9 +217,9 @@ export class TasksDetailsComponent implements OnInit, AfterViewInit, OnDestroy
scrollStrategy : this._overlay.scrollStrategies.block(), scrollStrategy : this._overlay.scrollStrategies.block(),
positionStrategy: this._overlay.position() positionStrategy: this._overlay.position()
.flexibleConnectedTo(this._tagsPanelOrigin.nativeElement) .flexibleConnectedTo(this._tagsPanelOrigin.nativeElement)
.withFlexibleDimensions() .withFlexibleDimensions(true)
.withViewportMargin(64) .withViewportMargin(64)
.withLockedPosition() .withLockedPosition(true)
.withPositions([ .withPositions([
{ {
originX : 'start', originX : 'start',