Skip to content

鼠标从元素上直接移出画布时,从鼠标移出位置进入画布并hover元素时,没有触发元素的mouseover事件。 #1035

Description

@chuhezhe0807
   当元素处在画布边缘时,从元素上直接移出画布,触发了mouseout事件,但是Handler中的局部变量this._hovered没有重置,导致下一次从鼠标移出位置hover进元素时由于this._hovered和lastHovered相同无法触发mouseover事件。
   
   除了自己监听画布容器的鼠标移出事件手动调用Handler@resize重置this._hovered外,还有什么好的处理方法吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions