Skip to content

Commit

Permalink
fix(dialog): scroll behavior outside
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Oct 25, 2024
1 parent cb31f74 commit 7d4f898
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/fuzzy-bulldogs-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@chakra-ui/react": patch
---

Fix issue where `scrollBehavior=outside` doesn't allow scrolling outside the
dialog content
1 change: 1 addition & 0 deletions packages/react/src/theme/recipes/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export const dialogSlotRecipe = defineSlotRecipe({
outside: {
positioner: {
overflow: "auto",
pointerEvents: "auto",
},
},
},
Expand Down

0 comments on commit 7d4f898

Please sign in to comment.