Skip to main content

Overflow

Important!

Overflow and scrolling features are only available for LayoutContainer and LayoutView components.

See the Layout Components guide for more details.

Overflow controls how a node handles content that exceeds its layout bounds.
In PixiJS Layout, overflow settings determine whether content is clipped, allowed to scroll, or simply left visible.

Possible overflow behaviors:

ValueDescription
visibleContent outside bounds is shown (default).
hiddenContent is clipped to the bounds. No scrolling.
scrollContent is clipped, and scrolling is enabled.
const container = new LayoutContainer({
layout: {
overflow: 'scroll', // default
},
});