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
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.
Describe the bug
Stencil插件的搜索,设置了 stencilGraphHeight: 0,高度自适应,但是搜索的结果高度没有自适应,有空白区域
Your Example Website or App
https://x6.antv.antgroup.com/zh/examples/showcase/practices/#flowchart
Steps to Reproduce the Bug or Issue
官网流程图案例就可以复现,
const stencil = new Stencil({
title: '流程图',
target: graph,
stencilGraphWidth: 200,
stencilGraphHeight: 0,
collapsable: true,
search(cell, keyword) {
return cell.shape.indexOf(keyword) !== -1
},
groups: [
{
title: '基础流程图',
name: 'group1',
},
{
title: '系统设计图',
name: 'group2',
},
],
layoutOptions: {
columns: 1,
columnWidth: 80,
rowHeight: 55,
},
})
为了明显复现,可以将分组改为
stencil.load([r1, r2, r3, r4, r5, r6], 'group1')
stencil.load([r1, r2, r3, r4,], 'group2')
Expected behavior
理想状态搜索高度页可以子适应,而不是出现一片空白
Screenshots or Videos
Platform
"@antv/x6": "^2.15.6",
Additional context
No response
The text was updated successfully, but these errors were encountered: