Explorar el Código

Remove .dropdown-menu-open on body click fixes #13409

Chris Hicks hace 7 años
padre
commit
499b71c8ff
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      public/app/core/components/grafana_app.ts

+ 3 - 0
public/app/core/components/grafana_app.ts

@@ -245,6 +245,9 @@ export function grafanaAppDirective(playlistSrv, contextSrv, $timeout, $rootScop
           return;
         }
 
+        // ensure dropdown menu doesn't impact on z-index
+        body.find('.dropdown-menu-open').removeClass('dropdown-menu-open');
+
         // for stuff that animates, slides out etc, clicking it needs to
         // hide it right away
         const clickAutoHide = target.closest('[data-click-hide]');