HeroUI Version
3.0.1
Describe the bug
When using an AlertDialog inside a Table.Cell causes a problem, when you need to click a trigger button 2 times before you see the dialog itself. It only happens one time after the page is loaded. Then calling the dialog works every time.
Your Example Website or App
https://hero-ui-v3-alert-bug.vercel.app/
Steps to Reproduce the Bug or Issue
- Clean Next.js starter template with tailwind.
- Install HeroUI v3 - clean installation
- Combine snippets from
Table with AlertDialog pages inside a Table.Cell.
- Reload the page
- Call the dialog - nothing happens after the first click
- Call it again - the dialog appears
- Every consecutive call every time after this
https://github.com/Borales/hero-ui-v3-alert-bug/blob/main/src/app/page.tsx#L6
Expected behavior
As a user, I want to see a dialog after one click.
Screenshots or Videos
No response
Operating System Version
MacOS
Browser
Chrome
HeroUI Version
3.0.1
Describe the bug
When using an
AlertDialoginside aTable.Cellcauses a problem, when you need to click a trigger button 2 times before you see the dialog itself. It only happens one time after the page is loaded. Then calling the dialog works every time.Your Example Website or App
https://hero-ui-v3-alert-bug.vercel.app/
Steps to Reproduce the Bug or Issue
TablewithAlertDialogpages inside aTable.Cell.https://github.com/Borales/hero-ui-v3-alert-bug/blob/main/src/app/page.tsx#L6
Expected behavior
As a user, I want to see a dialog after one click.
Screenshots or Videos
No response
Operating System Version
MacOS
Browser
Chrome