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: scroll inside modal content #630

Merged
merged 4 commits into from
Oct 20, 2023
Merged

Conversation

poulch
Copy link
Member

@poulch poulch commented Oct 19, 2023

I want to merge this change because it fix a problem that I can't scroll combobox dropdown inside modal.
According to Radix docs to be able to scroll we have to wrap Dialog.Content inside Dialog.Overlay
https://www.radix-ui.com/primitives/docs/components/dialog#scrollable-overlay

Screenshots

Pull Request Checklist

  • New components are exported from ./src/components/index.ts.
  • The storybook story is created and documentation is properly generated.
  • New component is wrapped in forwardRef.

@poulch poulch requested a review from a team October 19, 2023 16:45
@vercel
Copy link

vercel bot commented Oct 19, 2023

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

Name Status Preview Comments Updated (UTC)
macaw-ui-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 20, 2023 8:22am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
macaw-ui ⬜️ Ignored (Inspect) Visit Preview Oct 20, 2023 8:22am

Copy link
Member

@krzysztofzuraw krzysztofzuraw left a comment

Choose a reason for hiding this comment

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

CleanShot 2023-10-20 at 08 10 43@2x
Seems like storybook is broken 🤔

@vercel vercel bot temporarily deployed to Preview – macaw-ui-next October 20, 2023 07:44 Inactive
@vercel vercel bot temporarily deployed to Preview – macaw-ui-next October 20, 2023 08:01 Inactive
@vercel vercel bot temporarily deployed to Preview – macaw-ui-next October 20, 2023 08:22 Inactive
@poulch poulch requested a review from krzysztofzuraw October 20, 2023 08:26
@poulch poulch merged commit 0f5e931 into canary Oct 20, 2023
4 checks passed
@poulch poulch deleted the fix-scroll-inside-modal-content branch October 20, 2023 09:11
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.

2 participants