1 year ago

#156577

test-img

ErikWittern

How to make react-popper tooltip interactive?

I am using the usePopper hook provided by react-popper to create tooltips. My usage is based on this official example.

I would like users to be able to interact with the tooltip (e.g., select text or click a button in the tooltip). However, the tooltip currently hides on any attempt of interacting with it.

Is there a way to allow user interactions with a react-popper-based tooltip (it seems, for example, that Tippy.js has an option for allowing interactivity)?

javascript

reactjs

popper.js

react-popper

0 Answers

Your Answer

Accepted video resources