palantir/blueprint

LabelElement Icon doesn't highlight on hover in dark mode

Open

#4,809 创建于 2021年7月19日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P2Package: coreType: bughelp wanted

描述

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.

贡献者指南