(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(),
positionStrategy: this._overlay.position()
.flexibleConnectedTo(this._messagesOrigin._elementRef.nativeElement)
.withLockedPosition()
.withLockedPosition(true)
.withPush(true)
.withPositions([
{

View File

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

View File

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

View File

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

View File

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

View File

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