The overflow property specifies whether to clip the content when the content of an element is too big.
overflow: hidden
explicitly, if the node is not need to be overflow; On Android platform, the re-drawn region may become larger than view‘s rect when overflow: visible
.visible
(default) the content will not be clipped, the content and the descendants may render outside the element box
hidden
the overflow of the content and the descendants will be clipped, the reset of the content will be visible
Initial value | visible |
Applies to | all elements |
Inherited | no |
Animatable | no |
overflow
does not contain scroll
and auto
, for scroll
please use <scroll-view>
directly.opacity < 1
will be rendered in an offscreen buffer by default, the offscreen makes the overflow: visible
not work correctly, you can add overlap={false}
to disable the offscreen rendering. The property is linked to Android View hasOverlappingRendering
property.LCD tables only load in the browser