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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
add a delay for repositioning the dropdown (#9385)
Behrokh Satarnejad0c00b59581dd
diff --git a/frontend/src/app/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.ts b/frontend/src/app/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.tsindex ae7148d6d28..7ece16bfddd 100644--- a/frontend/src/app/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.ts+++ b/frontend/src/app/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.ts@@ -1,7 +1,7 @@import { HalResource } from 'core-app/modules/hal/resources/hal-resource';import { QueryFilterInstanceResource } from 'core-app/modules/hal/resources/query-filter-instance-resource';-import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';+import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, ViewChild, NgZone} from '@angular/core';import { I18nService } from 'core-app/modules/common/i18n/i18n.service';import { AngularTrackingHelpers } from 'core-components/angular/tracking-functions';import { HalResourceService } from 'core-app/modules/hal/services/hal-resource.service';@@ -65,7 +65,8 @@ export class FilterSearchableMultiselectValueComponent extends UntilDestroyedMixreadonly cdRef:ChangeDetectorRef,readonly I18n:I18nService,protected currentProject:CurrentProjectService,- readonly halNotification:HalResourceNotificationService) {+ readonly halNotification:HalResourceNotificationService,+ readonly ngZone:NgZone) {super();}@@ -127,7 +128,13 @@ export class FilterSearchableMultiselectValueComponent extends UntilDestroyedMixif (this.ngSelectInstance) {const component = (this.ngSelectInstance) as any;if (component && component.dropdownPanel) {- component.dropdownPanel._updatePosition();+ this.ngZone.runOutsideAngular(() => {+ setTimeout(() => {+ component.dropdownPanel._updatePosition();+ }, 25);++ });+}}}