pictode icon indicating copy to clipboard operation
pictode copied to clipboard

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

Open AlexRainHao opened this issue 9 months ago • 0 comments

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

AlexRainHao avatar Apr 23 '25 13:04 AlexRainHao