You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use 'collapse-expand', and brush select together and double click on the combo. You will see that the page is irreversibly squeezing and crashing the Browser
Version / 版本
Please select / 请选择
OS / 操作系统
macOS
Windows
Linux
Others / 其他
Browser / 浏览器
Chrome
Edge
Firefox
Safari (Limited support / 有限支持)
IE (Nonsupport / 不支持)
Others / 其他
The text was updated successfully, but these errors were encountered:
when I do the example on this page, the browser does not crash. I closed everything else in the graph to test it, only brush select and collapse-expand remained, but the error still persisted.
My current package.json version is;
"@antv/g6": "5.0.42",
Describe the bug / 问题描述
useEffect(() => {
if (!graphRef.current) return;
const graph = new Graph({
container: graphRef.current,
autoResize: false,
animation: false,
autoFit: "view",
data: data,
layout: {
type: 'circular',
},
node: {
type: "image",
style: {
badgeFontSize: 18,
labelPlacement: 'top',
size: 30,
haloStroke: '#227eff',
// badgePadding: [
// 1,
// 4
// ],
badgeBackground: false,
},
state: {
highlight: {
fill: '#D580FF',
halo: true,
lineWidth: 0,
},
dim: {
fill: '#99ADD1',
},
},
},
edge: {
state: {
highlight: {
stroke: '#D580FF',
},
},
},
behaviors: [
// {
// type: 'brush-select',
// key: 'brush-select',
// trigger: 'shift',
// mode: 'diff',
// style: {
// fill: '#00f',
// fillOpacity: 0.2,
// stroke: '#0ff',
// },
// enable: (event) => event.shiftKey === true,
// },
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
Use 'collapse-expand', and brush select together and double click on the combo. You will see that the page is irreversibly squeezing and crashing the Browser
Version / 版本
Please select / 请选择
OS / 操作系统
Browser / 浏览器
The text was updated successfully, but these errors were encountered: