Skip to content

[BUG] The tool of Arrow would not work after transformer fires event of dragend #98

@AlexRainHao

Description

@AlexRainHao

Bug Report / 缺陷报告

问题描述 / Describe the bug

The tool of Arrow would not work after transformer fires event of dragend

复现步骤 / To Reproduce

  1. create any tool element, like rectangle, ellipse or something other
  2. use selector plugin to select some tools
  3. drag the transformer
  4. create arrow tool element and failed

期望行为 / Expected behavior

This unexpected problem raise because of, the Konva transformer would spread mousedown event
to its nodes, which would collected by Konva Stage, and then the mouse service would emit the event of mousedown multiple times.

And I would like to fix the bug right now.

截图 / Screenshots

Image

桌面设备信息 / Desktop (please complete the following information):

移动设备信息 / Smartphone (please complete the following information):

附加上下文 / Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions