X6 icon indicating copy to clipboard operation
X6 copied to clipboard

antvx6思维导图使用@antv/x6-plugin-keyboard时报错

Open hanfei7788 opened this issue 11 months ago • 2 comments

Describe the bug

graph使用@antv/x6-plugin-keyboard时,graph.use(new Keyboard());后,当鼠标拖动出浏览器后,会报错Uncaught TypeError: elem.getAttribute is not a function

Your Example Website or App

null

Steps to Reproduce the Bug or Issue

鼠标按下,拖动到浏览器外,就会稳定报错

Expected behavior

修复bug

Screenshots or Videos

No response

Platform

Windows Firefox

  • Version: 2.11.1

Additional context

No response

hanfei7788 avatar Dec 27 '24 03:12 hanfei7788

👋 @hanfei7788

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

x6-bot[bot] avatar Dec 27 '24 03:12 x6-bot[bot]

更新下说明,只有在火狐最新版本才有这个问题,Google浏览器没有问题

hanfei7788 avatar Dec 27 '24 03:12 hanfei7788

在最新的firefox的版本中试了一下,没有复现出这个问题,可以确认一下在新版本的firefox中是否依然会有问题

q32757468 avatar Aug 19 '25 06:08 q32757468

欢迎复现出问题后再次打开

q32757468 avatar Aug 19 '25 06:08 q32757468