leafer-ui icon indicating copy to clipboard operation
leafer-ui copied to clipboard

选中元素之后按 command 会触发 EditorMoveEvent.MOVE 事件

Open tuntun0609 opened this issue 1 year ago • 1 comments

复现步骤:

  1. 使用leafer-editor
  2. 监听编辑器移动事件
app.editor?.on(EditorMoveEvent.MOVE, () => {
  console.log('move')
})
  1. 选中任意元素
  2. 点击 command 键( win 键暂时没有试过会不会也有问题)
  3. 发现没有移动的操作,但控制台打印了 move

复现 demo:https://cloudstudio.net/a/23117610773135360?channel=share&sharetype=URL

tuntun0609 avatar Nov 29 '24 02:11 tuntun0609

收到,谢谢反馈~

leaferjs avatar Nov 29 '24 04:11 leaferjs