[Bug]: 5.0.49中layout配置LR失效,未正常渲染右侧展开子节点
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
官方示例中,layout配置项内direction为LR的缩进树子节点在点击展开/折叠时方向异常。
### Reproduction link / 复现链接
https://g6.antv.antgroup.com/examples/scene-case/default/#fund-flow
### Steps to Reproduce the Bug or Issue / 重现步骤
demo中点击首次未展开的子节点,子节点向左侧偏移展开。
该问题在5.0.48中未出现。
### Version / 版本
🆕 5.x
### OS / 操作系统
- [ ] macOS
- [x] Windows
- [ ] Linux
- [ ] Others / 其他
### Browser / 浏览器
- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the linked fund-flow demo using G6 5.0.49, Chrome on Windows, with layout direction set to LR, and compare it with 5.0.48. Trace the expand/collapse behavior for the initially collapsed child; done means the child expands to the right as it did in 5.0.48.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100