antvis / antvis/X6

开启滚动画布,回显画布的时候,默认画布大小太小,导致画布外的定位元素无法显示完整

Open
#3,460 3 comments 0 reactions 0 assignees View on GitHub
bug:scroller
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

1. 开启滚动画布
2. 回显画布内容
3. 展开自定节点上面的 position: absolute; 的元素
4. 超出画布分页的部分,被剪切,无法显示完整

### 重现链接

### 重现步骤

1. 开启滚动画布
2. 回显画布内容
3. 展开自定节点上面的 position: absolute; 的元素
4. 超出画布分页的部分,被剪切,无法显示完整

### 预期行为

可以正常显示 画布分页外的定位的其他内容

### 平台

- 操作系统: [Windows]
- 网页浏览器: [Google Chrome]
- X6 版本: [2.8.0]

### 屏幕截图或视频(可选)

![iwEcAqNwbmcDAQTRBPoF0QPcBrAZ3sfldyzYMAQizMxawHwAB9J5Nb-kCAAJomltCgAL0gAAujE png_620x10000q90](https://user-images.githubusercontent.com/18386302/229398819-5897a107-70e7-4204-9dcd-27073ef794ad.jpg)

4a4d29b97e6991cd472c5df008e8902fd68421da546d712da0507ef9a5ba970cQzpcVXNlcnNceGluZ3hpbmcubGlcQXBwRGF0YVxSb2FtaW5nXERpbmdUYWxrXDIwMzM1NjU2MDRfdjJcSW1hZ2VGaWxlc1wxNjgwNDg1NjUwODE2X0VDQTlEOUJDLUI4ODUtNDBjZi1BMkYyLUMyMjBFNUJENTFFRS5wbmc=

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in X6 2.8.0 on Windows with Chrome: enable the scrolling canvas, restore the canvas content, and expand an absolutely positioned element on a custom node. Inspect how the restored canvas size clips content outside its pages. Done means positioned content beyond the canvas pages remains fully visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.