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

Not working with NextJS

Open JayMehta97 opened this issue 2 years ago • 1 comments

I want to show tooltip on a input field when a button is clicked. I am able to do that in codesandbox here but the exact same code doesn't work in my NextJS app. I also tried checking if the ref was assigned correctly and it is, calling input.current.focus() works but ReactTooltip.show(input.current) doesn't.

Am I missing something here?

JayMehta97 avatar Sep 11 '22 08:09 JayMehta97

Read this conversation

Basically you need to set strict mode to false on the next config

mrcMesen avatar Sep 15 '22 05:09 mrcMesen

Please, check my comment here: https://github.com/ReactTooltip/react-tooltip/issues/777#issuecomment-1277767508

I'll wait for your feedback to close that one.

danielbarion avatar Oct 13 '22 15:10 danielbarion

Thanks @danielbarion I'll try it 👍

mrcMesen avatar Oct 13 '22 16:10 mrcMesen

Hi @mrcMesen, do you have any updates?

danielbarion avatar Oct 18 '22 15:10 danielbarion

Marking as resolved based on other tickets, please open a new one if necessary. Thanks!

danielbarion avatar Oct 22 '22 14:10 danielbarion