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

[Bug]: Incorrect Hierarchy between Dialog Component and Sonner Component #462

Closed
2 tasks
A-kirami opened this issue Apr 4, 2024 · 1 comment · Fixed by #551
Closed
2 tasks

[Bug]: Incorrect Hierarchy between Dialog Component and Sonner Component #462

A-kirami opened this issue Apr 4, 2024 · 1 comment · Fixed by #551
Labels
bug Something isn't working

Comments

@A-kirami
Copy link

A-kirami commented Apr 4, 2024

Reproduction

https://stackblitz.com/edit/vitejs-vite-lsu39t

Describe the bug

When using toast in a dialog, the toast list does not automatically expand when the mouse hovers over the toast.

If the window is resized smaller, it can be observed that the mouse can click through the toast to the buttons in the dialog.

toast

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.3 - /usr/local/bin/pnpm
  npmPackages:
    radix-vue: ^1.6.2 => 1.6.2 
    vue: ^3.4.21 => 3.4.21

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@A-kirami A-kirami added the bug Something isn't working label Apr 4, 2024
@sadeghbarati
Copy link
Collaborator

https://stackblitz.com/edit/jmdup2

https://www.radix-vue.com/components/dialog#disable-close-on-interaction-outside

RadixVue and also RadixUi Dialog and DismissableLayer have certain limitations when integrating with third-party modal libraries, you'll need to address these limitations yourself

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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants