Skip to content

Commit

Permalink
[EuiFlyout] Add resizable flyout docs section copy (#7451)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Jan 9, 2024
1 parent 7df0120 commit 558daf1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/02_components/layout/flyout/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ To stop this growth at an ideal width, set `maxWidth` to `true`, or pass your ow
Note that there are some caveats to providing a maxWidth that is smaller than the minWidth.

:::

## Resizable flyouts

You can use **EuiFlyoutResizable** to render a flyout that users can drag with their mouse or use arrow keys to resize. This may be useful for scenarios where the space the user needs can be unpredictable, if content is dynamic. Resizable flyouts allow users to adjust content to better fit their individual screens and workflows.

We strongly recommend setting reasonable numerical `minWidth` and `maxWidth` props based on the flyout content and page content that you _can_ predict.

0 comments on commit 558daf1

Please sign in to comment.