You might resolved the issue, but here for everyone that got this issue, you just need to infer the useState to proper type, if your reference element is a DIV node, set the HTMLDivElement as the type
Thanks for the tutorial. How would you go about adding animations to this. Trying to use react-transition-group and I can't get any of the enter animations to work!
I have spent days figuring this thing out. thankyou
THE BEST REACT POPPERJS USAGE TUTORIAL
I'll need to remember that ref trick - super neat!
Thank you for this video! This is exactly what I was trying to implement. 👍
This video is so well explained! Thank you so much ! This helps alot !!!!
Great Explanations to understand popper.js. Thanks for the video.
Clean and neat tutorial.
Presentation superb....
Very helpful i can search for this solution but i finally found it😊
crystal clear explanation, awesome !
Thank you for this video
the best explanation, Thanks
All your videos are excellent +++++++++ Thank You
U r the best. Please make some more useful tutorials on react.
Awsome
Hi Ryan , great explanation but I am getting error while passing ref = {setReference} into functional component (React + Typescript).
You might resolved the issue, but here for everyone that got this issue, you just need to infer the useState to proper type, if your reference element is a DIV node, set the HTMLDivElement as the type
if you render it in a portal, it lose the accesibility, you cannot tab to select it
Thanks for the tutorial. How would you go about adding animations to this. Trying to use react-transition-group and I can't get any of the enter animations to work!
Hey Nick! I like to use framer motion for all my react animations. I haven't done it with this popup menu, but I think it will work just fine.
Please share your code