-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Description - The `FocusTrap` component was inserting a `div`. Adding the `asChild` prop + wrapping `Stack` in the ref convertor allows there to be only a single div now. - Added `overflowY: "auto"` to `Modal.Body` as default. - Added a modal with a lot of content in storybook so we can see if this behavior works as expected. ### Tasks [KNO-7270](https://linear.app/knock/issue/KNO-7270/[telegraph]-fix-modal-overflow-issue)
- Loading branch information
Showing
3 changed files
with
157 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@telegraph/modal": patch | ||
--- | ||
|
||
fix modal overflow issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters