Skip to content

滚动穿透 bug #1003

Open
Open
@xgqfrms

Description

@xgqfrms

问题描述

滚动穿透 bug

https://github.com/NervJS/taro-ui/blob/dev/src/components/float-layout/index.tsx#L83

onTouchMove 无法阻止弹框下面的页面内容滚动 bug

复现步骤

// 这里可以贴代码


  private handleTouchMove = (e: CommonEvent): void => {
    e.preventDefault()
    e.stopPropagation()
    return;
  }

期望行为

报错信息

系统信息

补充信息

Metadata

Metadata

Assignees

No one assigned

    Labels

    nextTaro UI next, taro-ui 3.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions