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: forward ref to snackbar #3998

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

fix: forward ref to snackbar #3998

wants to merge 1 commit into from

Conversation

lukewalczak
Copy link
Member

@lukewalczak lukewalczak commented Jul 25, 2023

Fixes: #3976

Summary

Provide ref to the Snackbar.

Test plan

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here.

},
style,
]}
ref={ref}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the use case of having ref on Surface? Maybe we should pass ref from renderChildrenWithWrapper so the user can check if the Snackbar is currently open? WDYT?

@lukewalczak lukewalczak added this to the 5.10.0 milestone Jul 25, 2023
@lukewalczak lukewalczak removed this from the 5.10.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snackbar ref is null
3 participants