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

Radix-UI Dialog in Drawer Breaks Drawer Positioning #366

Open
nobu-sh opened this issue May 29, 2024 · 0 comments
Open

Radix-UI Dialog in Drawer Breaks Drawer Positioning #366

nobu-sh opened this issue May 29, 2024 · 0 comments

Comments

@nobu-sh
Copy link

nobu-sh commented May 29, 2024

Placing a Radix-UI dialog box inside a drawer causes the drawer's position updates to break when the page is resized with the dialog open.

  1. Open the drawer with a dialog inside it.
  2. Trigger the dialog to open.
  3. Resize the page.
  4. Close the dialog.
  5. Observe that the drawer no longer updates its position on resize.
2024-05-29.06-13-07.mp4

I am using shadcn in this example.

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

No branches or pull requests

1 participant