Skip to content

Commit

Permalink
ZK-5025: redundant selection highlight on a menupopup
Browse files Browse the repository at this point in the history
  • Loading branch information
JamsonChan committed Sep 5, 2023
1 parent 037bef4 commit a013c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions zkdoc/release-note
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ ZK 10.0.0
ZK-5539: $init() will call twice on Keikai component
ZK-5540: zk.wpd with browser condition won't work with ZK 10
ZK-5530: users cannot focus on the icons on the Calendar header
ZK-5025: redundant selection highlight on a menupopup

* Upgrade Notes
+ The Java binary-compatible level is Java 11 since ZK 10.
Expand Down
4 changes: 1 addition & 3 deletions zul/src/main/resources/web/js/zul/menu/less/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@
.z-menuitem-content {
color: @menuPopupItemColor;
background: @menuPopupItemBackground;
&:hover {
.contentStyle(@menuPopupItemHoverColor, @menuPopupItemHoverBackground);
}
// Disable `.z-menupopup > .z-menuitem-content:hover` to avoid ZK-5025
&:focus {
.contentStyle(@menuPopupItemHoverColor, @menuPopupItemHoverBackground);
}
Expand Down

0 comments on commit a013c29

Please sign in to comment.