react-tippy icon indicating copy to clipboard operation
react-tippy copied to clipboard

Is it posible to use followCursor options from tippyjs?

Open davidbejarcaceres opened this issue 4 years ago • 6 comments

I´m trying to open the Tooltip at cursor position, currently the only way to link cursor position with Tooltip is using the prop followCursor={true}, I´ve checked the tippyjs the prop followCursor: https://atomiks.github.io/tippyjs/#follow-cursor

And I found followCursor porp should accept different values, the one I need is followCursor={"initial"}, but react-tippy library takes this as a boolean, so I can not use values as initial, vertical, horizontal, etc.

Has anyone found a way to open the Tooltip in the cursor position?

Thanks in advanced.

davidbejarcaceres avatar Jun 04 '20 08:06 davidbejarcaceres

Also have this problem, could you guide us @tvkhoa ? 👍

yemi avatar Sep 22 '20 06:09 yemi

Same Issue. @davidbejarcaceres did you ever find a work around?

sakinaf avatar Oct 29 '20 16:10 sakinaf

@sakinaf No I did not, sadly some props are not passed to tippyjs library, and due to some other problemas for advanced use, I had to change library to a more complete one and migrated all my tooltips to the new library.

davidbejarcaceres avatar Nov 05 '20 09:11 davidbejarcaceres

@davidbejarcaceres, what library is that?

sakinaf avatar Nov 05 '20 13:11 sakinaf

@sakinaf That´s typpyjs-react, full access to Tippy.js API and Popper API. So full of features.

davidbejarcaceres avatar Nov 08 '20 23:11 davidbejarcaceres

FYI the one @davidbejarcaceres linked is the official React library from the creators of Tippy.js.

Nantris avatar Dec 09 '20 23:12 Nantris