palantir/blueprint

Button with a tooltip is not active on popup

Open

#5,224 建立於 2022年4月4日

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

描述

Environment

  • Package version(s): core 4.0.0, popover2 1.0.0
  • Operating System: macOS
  • Browser name and version: Chrome

Code Sandbox

https://codesandbox.io/s/blueprint-sandbox-forked-6pkjx7?file=/src/index.tsx

Steps to reproduce

  1. create a button with a tooltip and a popover
  2. click the button
  3. button is not in active state

Actual behavior

popover opens but button is not active

Expected behavior

button should be active

Possible solution

update styles to allow button to get active class from parent

貢獻者指南