Application and Engine Configuration
Basics Viewport Type Canvas Pointer Multi-touch Touch Wheel Panning View Zoom View
Touch event related configuration. Changes made during engine runtime will take effect immediately via app.config.touch.
Note
Under the App structure, settings can only be configured on the App config.
Key Properties
touch.preventDefault: boolean | 'auto'
Whether to prevent the default mobile touch scrolling behavior. Default is 'auto'.
When set to 'auto', elements with draggable/editable behavior or those listening to DragEvent.DRAG can still be dragged independently, while other areas will scroll the page.
When set to true, all dragging is disabled from triggering page scrolling. This is automatically used when enabling viewport zoom and pan features.
When set to false, all dragging will allow page scrolling.
Example
Prevent default mobile page scrolling behavior
ts