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

[Bug] 光标位置不对 #223

Closed
sergioperezcheco opened this issue Jul 17, 2024 · 8 comments
Closed

[Bug] 光标位置不对 #223

sergioperezcheco opened this issue Jul 17, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@sergioperezcheco
Copy link

Bug 描述

光标位置相较于文本位置发生偏移

复现步骤

  1. 点开写作
  2. 输入一行文字,或者全选一行文字
  3. 随着输入光标会向前偏移
  4. 刷新网页后无此问题

期望行为

期待修复问题,虽然刷新后会修复但会造成割裂感

截图

刷新前全选
45132e4b1986ce4ab2214.png
刷新后全选
f14fef651fb46df61f6b6.png

环境变量

完全按照文档

@CookieFJ
Copy link

有相同问题

@OXeu
Copy link
Collaborator

OXeu commented Aug 11, 2024

暂时没有成功复现,有录屏可以参考一下吗?
按理说全选后输入文字会删除选中的内容的

@sergioperezcheco
Copy link
Author

暂时没有成功复现,有录屏可以参考一下吗? 按理说全选后输入文字会删除选中的内容的

https://img.checo.cc/file/6337d7762c15d129e4e1b.mp4
我录了个屏

@sergioperezcheco
Copy link
Author

暂时没有成功复现,有录屏可以参考一下吗? 按理说全选后输入文字会删除选中的内容的

全选后再输入文字是会删除选中内容,我的意思是随着输入光标会向前偏移

@OXeu OXeu added the bug Something isn't working label Oct 11, 2024
@RTAkland
Copy link

确实有光标会向左偏移,但是只会出现在英文输入的情况下中文输入的话光标位置正常

@RTAkland
Copy link

-.RTAkland.-.Google.Chrome.2024-10-29.10-08-43.mp4

@hohouman
Copy link

遇到了同样的问题🥹

@OXeu
Copy link
Collaborator

OXeu commented Dec 13, 2024

验证了一下在 Chrome 上确实有这个问题,Firefox 是 OK 的

OXeu added a commit that referenced this issue Dec 13, 2024
Signed-off-by: Xeu <thankrain@qq.com>
@OXeu OXeu closed this as completed in 4862b2f Dec 13, 2024
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

5 participants