adrianhajdin / project_professional_portfolio

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a real time chat application. Covered topics: React.js, SCSS, Framer Motion, Sanity
https://jsmastery.pro
2.07k stars 496 forks source link

React Tooltip and React v18 - skills and experience (won't hide on hover) #23

Open psychonautweb opened 2 years ago

psychonautweb commented 2 years ago

It seems that when you use React 18 and Strict Mode React Tooltip won't hide once you hover over it. E.G. when you hover over "FrontEnd Dev" in Skills and Experience section it won't hide {work.desc} .

It should work after you remove Strict Mode tag in your root.render method

https://github.com/wwayne/react-tooltip/issues/769

Just leaving this here if someone is following this tutorial using React 18

gabejob commented 2 years ago

Ahhh thank you very much, spent a long time banging my head on this. Hopefully this gets patched soon.

Coolranch commented 2 years ago

Thanks, was going crazy trying to figure out why it wasn't hiding.

PHANTOMGOD2OP commented 11 months ago

can someone share the code here