Accepted values for changing the overflow behavior.

Essentially, all the well-known HTML properties are available, but with predefined values.

See below for an example using some of the properties:

<View
width={400}
overflowX="scroll"
>
<View width={1000} height={300}>
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut libero a arcu eleifend tincidunt. Fusce et tellus ut massa iaculis luctus. Phasellus consectetur, purus non auctor lacinia, purus ipsum suscipit neque, vitae efficitur ante ligula vel tellus. Ut gravida lobortis erat, eu semper mauris congue ut</Text>
</View>
</View>

Hierarchy

Properties

overflow?: "scroll" | "overlay" | "auto" | "hidden" | "visible"

The overall overflow behavior.

Example:

  <overflow="hidden" />
overflowX?: "scroll" | "overlay" | "auto" | "hidden" | "visible"

The horizontal overflow behavior.

Example:

  <overflowX="hidden" />
overflowY?: "scroll" | "overlay" | "auto" | "hidden" | "visible"

The vertical overflow behavior.

Example:

  <overflowY="hidden" />
showScrollbars?: boolean

This property controls the display of scrollbars.

<View showScrollbars>
</View>