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
set capture value for event listener to false and fix failing tests
Behrokh Satarnejadf2ee353e2c5a
diff --git a/frontend/src/app/shared/components/op-context-menu/op-context-menu.service.ts b/frontend/src/app/shared/components/op-context-menu/op-context-menu.service.tsindex 2ed8f9ab325..068dbe75f97 100644--- a/frontend/src/app/shared/components/op-context-menu/op-context-menu.service.ts+++ b/frontend/src/app/shared/components/op-context-menu/op-context-menu.service.ts@@ -71,7 +71,7 @@ export class OPContextMenuService {if (that.active && !that.portalHostElement.contains(evt.target as Element)) {that.close();}- }, true);+ });// Listen if it scrolles then close the active context menuwrapper.addEventListener('scroll', (evt:Event) => {if (that.active && !that.portalHostElement.contains(evt.target as Element)) {diff --git a/modules/dashboards/spec/features/project_details_spec.rb b/modules/dashboards/spec/features/project_details_spec.rbindex 19bfa250675..ea283e9a9d6 100644--- a/modules/dashboards/spec/features/project_details_spec.rb+++ b/modules/dashboards/spec/features/project_details_spec.rb@@ -141,8 +141,6 @@ RSpec.describe "Project details widget on dashboard", :js doit 'has a "Project activity" entry in More menu linking to the project activity page' dodetails_widget = Components::Grids::GridArea.new(".grid--area.-widgeted:nth-of-type(1)")- details_widget.expect_menu_item("Project details activity")-details_widget.click_menu_item("Project details activity")expect(page).to have_current_path(project_activity_index_path(project), ignore_query: true)expect(page).to have_checked_field(id: "event_types_project_attributes")