-
-
Notifications
You must be signed in to change notification settings - Fork 712
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
fix: cursor blink lags when pointer down at text range #4180
Conversation
View Deployment
|
Playwright test resultsDetails 20 tests across 9 suites |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #4180 +/- ##
=======================================
Coverage 33.77% 33.78%
=======================================
Files 2456 2487 +31
Lines 127710 127652 -58
Branches 28603 28599 -4
=======================================
- Hits 43129 43121 -8
+ Misses 84581 84531 -50 ☔ View full report in Codecov by Sentry. |
}; | ||
|
||
// wait for anchorShape created. | ||
setTimeout(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有了下面 make dirty 是不是不用setTimeout 呢
@@ -121,25 +121,23 @@ export class TextRange implements IDocRange { | |||
} | |||
|
|||
private _anchorBlink() { | |||
setTimeout(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为啥删除这个呢?这个是为了 500ms 后隐藏
close #xxx
Pull Request Checklist