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(drawer-popover): properly pass asChild as a valid prop #2080

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

vaporwavie
Copy link
Contributor

Summary

Addresses the issue seen on #2072 which was proposed a workaround, and now is fully supported by the lib.

Examples

I've added a story to the Drawer as a reference to the issue scenario. It can be used as an example: https://github.com/vtex/shoreline/blob/fix/add-as-child-to-drawer-popover/packages/shoreline/src/components/drawer/stories/popover-as-child.stories.tsx

@vaporwavie vaporwavie added the bug Something isn't working label Feb 14, 2025
@vaporwavie vaporwavie self-assigned this Feb 14, 2025
@vaporwavie vaporwavie requested a review from a team as a code owner February 14, 2025 15:34
Copy link

vercel bot commented Feb 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
shoreline-docs ⬜️ Ignored (Inspect) Feb 14, 2025 3:34pm

@matheusps matheusps merged commit 8e5a7c3 into main Mar 10, 2025
5 of 7 checks passed
@matheusps matheusps deleted the fix/add-as-child-to-drawer-popover branch March 10, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants