Skip to content

Commit

Permalink
Add resizable flyout docs section copy
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Jan 8, 2024
1 parent 7df0120 commit 4e337b6
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 4e337b6

Please sign in to comment.