diff --git a/apps/www/content/docs/primitives/dialog.mdx b/apps/www/content/docs/primitives/dialog.mdx index 5c1069f730..5d1f883442 100644 --- a/apps/www/content/docs/primitives/dialog.mdx +++ b/apps/www/content/docs/primitives/dialog.mdx @@ -57,3 +57,38 @@ import { ``` + +## Notes + +To activate the Dialog component from within a Context Menu or Dropdown Menu, you must encase the Context Menu or +Dropdown Menu component in the Dialog component. For more information, refer to the linked issue [here](https://github.com/radix-ui/primitives/issues/1836). + +```tsx + + + Right click + + Open + Download + + + Delete + + + + + + + Are you sure absolutely sure? + + This action cannot be undone. Are you sure you want to permanently delete this file from our servers? + + + + + + + +```