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.enabletransformedtouchposition.md.
这是开发预览网站。请访问正式文档 lynxjs.org

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

Config.enableTransformedTouchPosition property

Controls whether touch event coordinates account for element transforms. When enabled, Lynx and Canvas touch dispatch convert root touch points into the transformed target view coordinate space; when disabled, touch positions keep the legacy untransformed calculation.

Supported platform: Android, HarmonyOS

Since: LynxSDK 3.6

Signature:

enableTransformedTouchPosition?: boolean;

Default Value

false