Skip to content

Commit

Permalink
[docs] Remove scrollarea mention from Modal and Drawer docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Mar 28, 2023
1 parent f585c32 commit 6080ced
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions docs/src/docs/core/Drawer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ To remove header set `withCloseButton={false}`

## Drawer with scroll

By default, [ScrollArea.Autosize](/core/scroll-area/) component is used as scrollable container.
`Drawer`. `Drawer` header has sticky position – it will not scroll with the rest of the content.

<Demo data={DrawerDemos.overflow} />

## Usage with ScrollArea
Expand Down
5 changes: 0 additions & 5 deletions docs/src/docs/core/Modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ supports with `overlayProps`:

## Modal with scroll

By default, [ScrollArea.Autosize](/core/scroll-area/) component is used as scrollable container.
`Modal` max height is determined by `yOffset` prop. For example, for default value is `5vh`,
maximum content height will be `calc(100vh - (5vh * 2))`. `Modal` header has sticky position –
it will not scroll with the rest of the content.

<Demo data={ModalDemos.overflow} />

## Usage with ScrollArea
Expand Down

0 comments on commit 6080ced

Please sign in to comment.