diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 48313fc7..59ce7b89 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: - - master + - preyskurantov/re-design jobs: deploy: diff --git a/package.json b/package.json index 8a51fe0b..214a2ce9 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "@angular/router": "^16.2.1", "@ngtools/webpack": "^16.0.0", "core-js": "^2.5.4", - "devextreme": "23.1.4", - "devextreme-angular": "23.1.4", - "devextreme-themebuilder": "23.1.4", + "devextreme": "23.1.5", + "devextreme-angular": "23.1.5", + "devextreme-themebuilder": "23.1.5", "file-saver": "^2.0.2", "jszip": "^3.2.2", "jszip-utils": "^0.1.0", diff --git a/src/app/left-menu/editor/editor.component.html b/src/app/left-menu/editor/editor.component.html index 9a2159a5..be095c32 100644 --- a/src/app/left-menu/editor/editor.component.html +++ b/src/app/left-menu/editor/editor.component.html @@ -1,4 +1,4 @@ -
+
- +
@@ -46,7 +46,7 @@
- +
diff --git a/src/app/left-menu/main/left-menu.component.ts b/src/app/left-menu/main/left-menu.component.ts index 8ca2afbe..aa3a52bf 100644 --- a/src/app/left-menu/main/left-menu.component.ts +++ b/src/app/left-menu/main/left-menu.component.ts @@ -187,6 +187,10 @@ export class LeftMenuComponent implements OnDestroy, OnInit { }); } + fireScrollEventForClosingDropdowns() { + document.body.dispatchEvent(new Event('scroll')); + } + ngOnDestroy(): void { this.subscription.unsubscribe(); } diff --git a/src/app/preview/editors/editors.component.html b/src/app/preview/editors/editors.component.html index 4853ed63..ef9e7f18 100644 --- a/src/app/preview/editors/editors.component.html +++ b/src/app/preview/editors/editors.component.html @@ -40,7 +40,7 @@
- +
@@ -70,7 +70,7 @@
- +
@@ -100,7 +100,7 @@
- +
diff --git a/src/app/preview/editors/editors.component.ts b/src/app/preview/editors/editors.component.ts index 17ccdbf2..4329eac2 100644 --- a/src/app/preview/editors/editors.component.ts +++ b/src/app/preview/editors/editors.component.ts @@ -11,7 +11,7 @@ export class EditorsComponent implements OnInit, OnDestroy { widgetGroup = 'editors'; isExpanded = new BehaviorSubject(false); subscription: Subscription; - + dropDownOptions = {hideOnParentScroll: true}; labelMode = 'floating'; ngOnInit(): void { diff --git a/src/app/preview/preview/preview.component.html b/src/app/preview/preview/preview.component.html index d44d2b49..eb9702e0 100644 --- a/src/app/preview/preview/preview.component.html +++ b/src/app/preview/preview/preview.component.html @@ -1,4 +1,4 @@ - +

Buttons

diff --git a/src/app/preview/preview/preview.component.ts b/src/app/preview/preview/preview.component.ts index 8a38b37f..6b13e61c 100644 --- a/src/app/preview/preview/preview.component.ts +++ b/src/app/preview/preview/preview.component.ts @@ -105,4 +105,8 @@ export class PreviewComponent implements AfterViewInit, OnChanges { ngAfterViewInit(): void { this.createPreviewContent(this.widgetName); } + + fireScrollEventForClosingDropdowns() { + document.body.dispatchEvent(new Event('scroll')); + } }