fix: input 光标设置错误 - #17476
Merged
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17476 +/- ##
=======================================
Coverage 57.86% 57.86%
=======================================
Files 468 468
Lines 26458 26458
Branches 5812 5829 +17
=======================================
Hits 15309 15309
+ Misses 9665 9573 -92
- Partials 1484 1576 +92
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
该问题不仅仅是删除时会出现,在输入框非文本末尾位置添加内空时,在真机上光标也会跳回最后一位,不知道是不是相同问题。 |
tutuxxx
self-requested a review
March 26, 2025 12:16
tutuxxx
approved these changes
Mar 26, 2025
|
请问修复好了吗 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个 PR 做了什么? (简要描述所做更改)
在上面的 demo 中,cursor 无法正确设置。除此外,当进行非文本末尾的删除操作后,光标会跳回最后一位。
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台: