Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove pointerevent style from the overlay element

bsatarnejad1f95ff016ff6
diff --git a/frontend/src/app/shared/components/modal/modal-overlay.sass b/frontend/src/app/shared/components/modal/modal-overlay.sass
index 148b0eccb5c..e070d2faf7b 100644
--- a/frontend/src/app/shared/components/modal/modal-overlay.sass
+++ b/frontend/src/app/shared/components/modal/modal-overlay.sass
@@ -18,6 +18,5 @@
&_not-full-screen
background: transparent
-
- &-parent_deactive
- pointer-events : none
\ No newline at end of file
+ right: unset
+ bottom: unset
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/modal/modal.service.ts b/frontend/src/app/shared/components/modal/modal.service.ts
index ae6ec907560..59beec128ce 100644
--- a/frontend/src/app/shared/components/modal/modal.service.ts
+++ b/frontend/src/app/shared/components/modal/modal.service.ts
@@ -95,9 +95,6 @@ export class OpModalService {
const ref:ComponentRef<OpModalComponent> = this.bodyPortalHost.attach(portal) as ComponentRef<OpModalComponent>;
const instance = ref.instance as T;
this.active = instance;
- if (this.portalHostElement.parentElement) {
- this.portalHostElement.parentElement.classList.add('op-modal-overlay-parent_deactive');
- }
this.portalHostElement.classList.add('op-modal-overlay_active');
if (notFullScreen) {
this.portalHostElement.classList.add('op-modal-overlay_not-full-screen');
@@ -130,9 +127,6 @@ export class OpModalService {
this.active.closingEvent.emit(this.active);
this.bodyPortalHost.detach();
this.portalHostElement.classList.remove('op-modal-overlay_active');
- if (this.portalHostElement.parentElement) {
- this.portalHostElement.parentElement.classList.remove('op-modal-overlay-parent_deactive');
- }
this.portalHostElement.classList.remove('op-modal-overlay_not-full-screen');
this.active = null;
}