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
Do not switch the menu on hover as it leads to confusion
Henriette Dinger4afb62f76c45
diff --git a/app/assets/javascripts/top_menu.js b/app/assets/javascripts/top_menu.jsindex f9c480b9786..fc0fd168369 100644--- a/app/assets/javascripts/top_menu.js+++ b/app/assets/javascripts/top_menu.js@@ -132,13 +132,6 @@self.toggleClick($(this));return false;});- $(it).hover(function() {- // only do something if the menu is in hover mode- // AND the dropdown we hover on is not currently open anyways- if (self.hover && self.isClosed($(this))) {- self.open($(this));- }- });$(it).on('touchstart', function(e) {// This shall avoid the hover event is fired,// which would otherwise lead to menu being closed directly after its opened.diff --git a/app/assets/stylesheets/layout/_top_menu_mobile.sass b/app/assets/stylesheets/layout/_top_menu_mobile.sassindex b3dd7147913..804ea444f5a 100644--- a/app/assets/stylesheets/layout/_top_menu_mobile.sass+++ b/app/assets/stylesheets/layout/_top_menu_mobile.sass@@ -87,8 +87,8 @@max-width: none#more-menu.drop-down--modules- // 58 = Width of one menu item- right: -58px+ // 66 = Width of one menu item+ right: -66px#account-nav-left#projects-menu