Skip to content

怎么判断是用户鼠标滚动,还是 ref.scrollTo 触发的滚动? #205

Open
@yaxiaoliu

Description

如题,想在 onScroll 事件中区分滚动是被谁触发的,目前从参数中无法判断出来,请问有其他方式可以判断吗,或者是我使用姿势不对?
image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions