palantir/blueprint

Button with a tooltip is not active on popup

Open

#5224 aperta il 4 apr 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: popover2Type: bughelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

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

Guida contributor