diff --git a/package-lock.json b/package-lock.json
index 680749124f7..a8504a0d680 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -81,8 +81,8 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
- "@primer/react": "38.9.0",
- "@primer/styled-react": "1.0.2",
+ "@primer/react": "38.10.0",
+ "@primer/styled-react": "1.0.3",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.3",
@@ -95,8 +95,8 @@
"name": "example-nextjs",
"version": "0.0.0",
"dependencies": {
- "@primer/react": "38.9.0",
- "@primer/styled-react": "1.0.2",
+ "@primer/react": "38.10.0",
+ "@primer/styled-react": "1.0.3",
"next": "^16.1.5",
"react": "^19.2.0",
"react-dom": "^19.2.0",
@@ -138,8 +138,8 @@
"version": "0.0.0",
"dependencies": {
"@primer/octicons-react": "^19.21.0",
- "@primer/react": "38.9.0",
- "@primer/styled-react": "1.0.2",
+ "@primer/react": "38.10.0",
+ "@primer/styled-react": "1.0.3",
"clsx": "^2.1.1",
"next": "^16.1.5",
"react": "^19.2.0",
@@ -6482,9 +6482,9 @@
}
},
"node_modules/@primer/behaviors": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.10.0.tgz",
- "integrity": "sha512-+GaAqCJuoYVf0Sy67mJfhw7k17nrCnfanI4H6NFEyToDC1ghrOC9Yl7627WTWpqGg+1lPhjF7OHF7VClLz52oA==",
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.10.2.tgz",
+ "integrity": "sha512-93juWZbWg2DRhC11+7RT7hMpY1VD3lBosLmccqEZ65yrCHqkBCjI8Uj8wxs3y0U+wWE07LAoLHAPylyWbifg5A==",
"license": "MIT"
},
"node_modules/@primer/css": {
@@ -27004,7 +27004,7 @@
},
"packages/react": {
"name": "@primer/react",
- "version": "38.9.0",
+ "version": "38.10.0",
"license": "MIT",
"dependencies": {
"@github/mini-throttle": "^2.1.1",
@@ -27012,7 +27012,7 @@
"@github/tab-container-element": "^4.8.2",
"@lit-labs/react": "1.2.1",
"@oddbird/popover-polyfill": "^0.5.2",
- "@primer/behaviors": "^1.10.0",
+ "@primer/behaviors": "^1.10.2",
"@primer/live-region-element": "^0.7.1",
"@primer/octicons-react": "^19.21.0",
"@primer/primitives": "10.x || 11.x",
@@ -27374,7 +27374,7 @@
},
"packages/styled-react": {
"name": "@primer/styled-react",
- "version": "1.0.2",
+ "version": "1.0.3",
"dependencies": {
"@styled-system/css": "^5.1.5",
"@styled-system/props": "^5.1.5",
@@ -27388,7 +27388,7 @@
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@primer/primitives": "10.x || 11.x",
- "@primer/react": "^38.4.0",
+ "@primer/react": "^38.10.0",
"@rollup/plugin-babel": "^6.1.0",
"@storybook/react-vite": "^10.1.11",
"@types/react": "18.3.11",
diff --git a/packages/react/package.json b/packages/react/package.json
index b0961635f67..67fcd5e655e 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -79,7 +79,7 @@
"@github/tab-container-element": "^4.8.2",
"@lit-labs/react": "1.2.1",
"@oddbird/popover-polyfill": "^0.5.2",
- "@primer/behaviors": "^1.10.0",
+ "@primer/behaviors": "^1.10.2",
"@primer/live-region-element": "^0.7.1",
"@primer/octicons-react": "^19.21.0",
"@primer/primitives": "10.x || 11.x",
diff --git a/packages/react/src/ActionMenu/ActionMenu.examples.stories.tsx b/packages/react/src/ActionMenu/ActionMenu.examples.stories.tsx
index 36f6481dd40..7391258896d 100644
--- a/packages/react/src/ActionMenu/ActionMenu.examples.stories.tsx
+++ b/packages/react/src/ActionMenu/ActionMenu.examples.stories.tsx
@@ -1,5 +1,5 @@
-import React from 'react'
-import {ActionMenu, ActionList, Button, IconButton, FormControl, TextInput} from '../'
+import React, {useState, useCallback} from 'react'
+import {ActionMenu, ActionList, Button, IconButton, FormControl, TextInput, Dialog, Text} from '../'
import {
GearIcon,
MilestoneIcon,
@@ -654,3 +654,104 @@ export const DynamicAnchorSides = () => {
>
)
}
+
+export const InsideDialog = () => {
+ const [isDialogOpen, setIsDialogOpen] = useState(false)
+
+ const onDialogClose = useCallback(() => setIsDialogOpen(false), [])
+ const openDialog = useCallback(() => setIsDialogOpen(true), [])
+
+ // Create scrollable content with multiple paragraphs
+ const scrollableContent = Array.from({length: 50}, (_, index) => (
+