For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/type-config.config.enabletextoverflow.md.
这是开发预览网站。请访问正式文档 lynxjs.org

Home > @lynx-js/type-config > Config > enableTextOverflow

Config.enableTextOverflow property

Controls whether platform text renderers treat text overflow as visible instead of clipping to bounds. When enabled, page config forwards the flag to platform text contexts and iOS or Harmony text rendering allows visible overflow; when disabled, text keeps the older clipped overflow behavior. From target SDK 2.8 onward, the default override is enabled.

Supported platform: Android, iOS

Since: LynxSDK 3.2

Signature:

enableTextOverflow?: boolean;

Default Value

false