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

Maintain block position after editor width resize #13127

Closed
TCOTC opened this issue Nov 12, 2024 · 0 comments
Closed

Maintain block position after editor width resize #13127

TCOTC opened this issue Nov 12, 2024 · 0 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Nov 12, 2024

编辑器宽度调整后保持块的位置

https://ld246.com/article/1731412137997

比如光标在底部,但已经翻到了顶部的情况,点击一下侧栏按钮就会跳动到底部


我怀疑,动态加载的时候编辑器会突然跳老远也是跟这个一样的问题

@Vanessa219 Vanessa219 added this to the 3.1.14 milestone Nov 21, 2024
Vanessa219 added a commit that referenced this issue Nov 21, 2024
@Vanessa219 Vanessa219 changed the title 点击侧栏按钮会使文档滚动到光标所在块 编辑器宽度调整后保持块的位置 Nov 21, 2024
@88250 88250 changed the title 编辑器宽度调整后保持块的位置 Maintain block position after editor width resize Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants