From f901eeeb4a76feff629194c1da42bf421fb36494 Mon Sep 17 00:00:00 2001 From: Murtuza Zabuawala Date: Thu, 5 Dec 2019 11:14:59 +0530 Subject: [PATCH] Fix an issue where context menu is open along with submenu and the focus is not on context menu or submenu. Fixes #4991. --- docs/en_US/release_notes_4_16.rst | 1 + web/pgadmin/static/scss/_webcabin.pgadmin.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_4_16.rst b/docs/en_US/release_notes_4_16.rst index aeaf1abc9..9b4741329 100644 --- a/docs/en_US/release_notes_4_16.rst +++ b/docs/en_US/release_notes_4_16.rst @@ -48,3 +48,4 @@ Bug fixes | `Issue #4966 `_ - Fix 'Could not find the object on the server.' error while refreshing the check constraint. | `Issue #4978 `_ - Fix pgAdmin4 failed to start issue after upgrading to version 4.15. | `Issue #4985 `_ - Fix an issue where the inherited table name with quotes did not escape correctly. +| `Issue #4991 `_ - Fix an issue where context menu is open along with submenu and the focus is not on context menu or submenu. diff --git a/web/pgadmin/static/scss/_webcabin.pgadmin.scss b/web/pgadmin/static/scss/_webcabin.pgadmin.scss index fca37c979..7a7dd658d 100644 --- a/web/pgadmin/static/scss/_webcabin.pgadmin.scss +++ b/web/pgadmin/static/scss/_webcabin.pgadmin.scss @@ -271,7 +271,7 @@ background-color: $dropdown-bg; } -.wcMenuItemHover, .wcMenuItem:hover, .context-menu-item:not(.context-menu-not-selectable).hover, .context-menu-item:not(.context-menu-not-selectable):hover { +.wcMenuItemHover, .wcMenuItem:hover, .context-menu-item:not(.context-menu-not-selectable).hover, .context-menu-item:not(.context-menu-not-selectable):hover, .context-menu-hover { color: $dropdown-link-hover-color; background-color: $dropdown-link-hover-bg !important; }