Skip to content

Commit 7d4f898

Browse files
committedOct 25, 2024·
fix(dialog): scroll behavior outside
1 parent cb31f74 commit 7d4f898

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎.changeset/fuzzy-bulldogs-relate.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@chakra-ui/react": patch
3+
---
4+
5+
Fix issue where `scrollBehavior=outside` doesn't allow scrolling outside the
6+
dialog content

‎packages/react/src/theme/recipes/dialog.ts

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export const dialogSlotRecipe = defineSlotRecipe({
130130
outside: {
131131
positioner: {
132132
overflow: "auto",
133+
pointerEvents: "auto",
133134
},
134135
},
135136
},

0 commit comments

Comments
 (0)
Please sign in to comment.