Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

fix: React 18 support for tooltip modal - #336

Open
GwendolenLynch wants to merge 1 commit into
TanStack:betafrom
GwendolenLynch:tooltip-fix
Open

fix: React 18 support for tooltip modal#336
GwendolenLynch wants to merge 1 commit into
TanStack:betafrom
GwendolenLynch:tooltip-fix

Conversation

@GwendolenLynch

@GwendolenLynch GwendolenLynch commented Dec 22, 2022

Copy link
Copy Markdown

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
Copy Markdown

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

@eduardovidals

Copy link
Copy Markdown

@tannerlinsley Any updates on this?

@PatrikTheDev

Copy link
Copy Markdown

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
Copy Markdown

no news? :(

注册 for free to subscribe to this conversation on GitHub. Already have an account? 登录.

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

5 participants