Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编辑器滚动问题,不同步或无法滚动 #323

Closed
RickTe opened this issue Jul 19, 2023 · 2 comments
Closed

编辑器滚动问题,不同步或无法滚动 #323

RickTe opened this issue Jul 19, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@RickTe
Copy link

RickTe commented Jul 19, 2023

描述这个Bug

在使用改编辑器进行生产时我遇到的滚动问题,内容超出,出现滚动条后:

  1. 同步滚动异常,编辑面板已经滚动到最底部了,预览面板的还在最上面(反之亦然)
  2. 预览面板跟随编辑面板滚动一下又瞬间滚动到顶部(反之亦然)
  3. 预览面板无法滚动(禁用js后正常)

简易模拟了一下场景:
在官方示例的编辑器输入以下内容:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

版本号

v4.2.2

问题重现链接

No response

@imzbf imzbf self-assigned this Jul 19, 2023
@imzbf imzbf added the bug Something isn't working label Jul 19, 2023
@imzbf
Copy link
Owner

imzbf commented Jul 19, 2023

同步滚动的函数写得有点着急,待优化一下,感谢反馈

@imzbf
Copy link
Owner

imzbf commented Aug 31, 2023

终于修复了,请在^4.5.0中尝试

@imzbf imzbf closed this as completed Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants