Merge pull request #13417 from British-Steel/Remove-dropdown-menu-open-class-when-out-of-focus
Remove .dropdown-menu-open on body click fixes #13409
This commit is contained in:
@@ -245,6 +245,9 @@ export function grafanaAppDirective(playlistSrv, contextSrv, $timeout, $rootScop
|
|||||||
return;
|
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
|
// for stuff that animates, slides out etc, clicking it needs to
|
||||||
// hide it right away
|
// hide it right away
|
||||||
const clickAutoHide = target.closest('[data-click-hide]');
|
const clickAutoHide = target.closest('[data-click-hide]');
|
||||||
|
|||||||
Reference in New Issue
Block a user