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

When switching tabs with the same width, keep the content position unchanged #8859

Closed
3 tasks done
chenshinshi opened this issue Jul 31, 2023 · 2 comments
Closed
3 tasks done
Assignees
Milestone

Comments

@chenshinshi
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

其他人的反馈,但情况可能比我遇到的更复杂:https://ld246.com/article/1690770975769

复现步骤:
编辑文档1,继续阅读文档1
打开文档2
回到文档1

近期的版本都有这个问题。

Expected result

希望能正常记住浏览位置,我在编辑中经常遇到这个问题,会被打断操作体验不是很流畅

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.9.7
- Operating System: win
- Browser (if used):

Log file

无需

More information

No response

@chenshinshi
Copy link
Author

chenshinshi commented Jul 31, 2023

评论中我还提到有时切换页签后先前编辑的文字片段会进入选中状态。如刚刚添加行内备注的文字。

@Vanessa219
Copy link
Member

这个问题是改进 https://ld246.com/article/1673704873983/comment/1673765814595#comments 造成的,目前只能再改进一下:如果编辑器宽度不变的情况下,就不对其进行定位。

@Vanessa219 Vanessa219 added this to the 2.9.9 milestone Aug 3, 2023
Vanessa219 added a commit that referenced this issue Aug 3, 2023
@Vanessa219 Vanessa219 changed the title 切换页签时光标跳回先前光标编辑位置而不是先前浏览位置 When switching tabs with the same width, keep the content position unchanged Aug 3, 2023
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