Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: React 18 support for tooltip modal #336

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from

Conversation

GwendolenLynch
Copy link

@GwendolenLynch GwendolenLynch commented Dec 22, 2022

This might not be the best way to go, but it WFM, @tannerlinsley 😺

I'm not a React person, but as I best understand what is going on, React 18 changed the render API. That new API is picky over portal element destruction and related setState() calls, c.f. added/moved useRef()s.

Additionally, the location move of Object.assign() is to handle the element being added in the project implementation.

Relevant to #256 #301 #316

Happy to make additional changes, or if you have better ideas please feel free to poach whatever is useful for a better PR.

@huyphams
Copy link

Hi, @tannerlinsley any update on this? Being stuck on beta 38 because of this.
Thanks

@eduardovidals
Copy link

@tannerlinsley Any updates on this?

@PatrikTheDev
Copy link

Hey @tannerlinsley, I know you're pretty busy with other projects but this is a pretty important issue to handle since many of us have already switched to React 18, could you please take a look and potentially merge this? Thank you!

@flucaswg
Copy link

no news? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants