palantir/blueprint

LabelElement Icon doesn't highlight on hover in dark mode

Open

#4,809 建立於 2021年7月19日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (2,167 fork)batch import
P2Package: coreType: bughelp wanted

倉庫指標

Star
 (20,263 star)
PR 合併指標
 (平均合併 43天 10小時) (30 天內合併 27 個 PR)

描述

Environment

  • Package version(s): 3.46.0
  • Operating System: MacOS Catalina
  • Browser name and version: Chrome

Code Sandbox

Link to a minimal repro: https://blueprintjs.com/docs/#core/components/menu

Steps to reproduce

View the menu item behavior shown in the link above. This is just a comment on the current features of the menu item component.

Actual behavior

The right icon (labelElement) does not highlight on hover in dark mode unlike the left icon.

Expected behavior

The right icon should highlight on hover in dark mode like the left icon, at least for cases where there is only the right icon being rendered.

Possible solution

Add a highlight styling on hover for the labelElement.

貢獻者指南