Skip to content

[Bug]: 启用minimap插件的情况下,control+A全选内容后拖拽画布的功能出现问题 #7038

@typenoob

Description

@typenoob

Describe the bug / 问题描述

  • 启用minimap插件的时候,control+A全选内容后拖动画布,发现即使在画布中拖动鼠标也会被判别为拖拽文字,进而导致无法正常拖拽画布。
  • 不启用minimap插件的时候,则正常。

Reproduction link / 复现链接

https://stackblitz.com/edit/vmed5n85-zpqfxxdp?file=index.js

Steps to Reproduce the Bug or Issue / 重现步骤

  1. control+A全选
  2. 在canvas区域内拖拽画布
  3. 发现文字也被拖拽,且在松开鼠标时无法结束拖拽动作

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't workingresolved pending releaseThis issue has been resolved and is pending release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions