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

Do not reset the width values on Destroy because we actually do want to keep the value

Henriette Dargeab9cffd6e65e
diff --git a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
index 2ab52d9d40c..a09e4700f67 100644
--- a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
+++ b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
@@ -138,10 +138,6 @@ export class WpResizerDirective extends UntilDestroyedMixin implements OnInit, A
ngOnDestroy() {
super.ngOnDestroy();
- // Reset the style when killing this directive, otherwise the style remains
- if (this.resizingElement) {
- this.setWidthVariable(this.elementMinWidth);
- }
}
resizeStart() {