Skip to main content
Elastic UI
Elastic UI
Getting startedComponentsPatternsContentData visualization
EUI ChangelogGitHubFigma
  • Setup
  • Theming
  • Accessibility
  • Testing
  • Utilities
    • Accessibility
    • Auto sizer
    • Color palettes
    • Copy
    • CSS utility classes
    • Delay
    • Error boundary
    • Focus trap
    • Highlight and mark
    • HTML ID generator
    • I18n
    • Inner text
    • Mutation observer
    • Outside click detector
    • Overlay mask
    • Portal
    • Pretty duration
    • Provider
    • Resize observer
    • Scroll
    • Text diff
    • Text truncation
    • Window events
  • EUI
  • Utilities
  • Auto sizer

Auto sizer

EuiAutoSizer helps components that use virtualized rendering and/or require explicit dimensions to fill all available space in the parent container. See the react-virtualized AutoSizer documentation as EuiAutoSizer is a passthrough component for AutoSizer.

Loading...

Props

EuiAutoSizer

Extends HTMLAttributes
𐘂𐘂
✄𐘗✄𐘗
Prop
↦
Description and type
↦
Default value
↵
Prop
doNotBailOutOnEmptyChildren#
↦
Description and type
Type: boolean
↦
Default value
↵
Prop
nonce#
↦
Description and type
Type: string
↦
Default value
↵
Prop
tagName#
↦
Description and type
Type: string
↦
Default value
↵
Prop
className#
↦
Description and type
Type: string
↦
Default value
↵
Prop
aria-label#
↦
Description and type

Defines a string value that labels the current element.
@see aria-labelledby.

Type: string
↦
Default value
↵
Prop
defaultHeight#
↦
Description and type
Type: number
↦
Default value
↵
Prop
disableHeight#
↦
Description and type
Type: boolean
↦
Default value
↵
Prop
disableWidth#
↦
Description and type
Type: boolean
↦
Default value
↵
Prop
onResize#
↦
Description and type
Type: ((size: VerticalSize) => void) | ((size: HorizontalSize) => void) | ((size: Size) => void)
↦
Default value
↵
Prop
defaultWidth#
↦
Description and type
Type: number
↦
Default value
↵
𐘂𐘂
Edit this page

Previous
Accessibility
Next
Color palettes
  • Props
EUI is dual-licensed under Elastic License 2.0 and Server Side Public License, v 1 | Crafted with ❤ by Elastic