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

In React, when a ref is passed to a component, that component must forward the ref to a DOM element using React.forwardRef. If the Stack component does not implement forwardRef, the ref will not be attached to the underlying DOM element, resulting in ref.current being null or undefined. #5541

Closed
Lfmafiagirl opened this issue Jan 14, 2025 · 1 comment
Labels

Comments

@Lfmafiagirl
Copy link

Lfmafiagirl commented Jan 14, 2025

No description provided.

@joshblack
Copy link
Member

Hi there! 👋 I believe this is a duplicate of: #5446

It seems like something is off with the type definitions for Stack that is causing it not to fail when a ref is provided 🤔 Will close this out and use that issue for tracking/fixing this 👍

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

No branches or pull requests

2 participants