-
-
Notifications
You must be signed in to change notification settings - Fork 711
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(sheets-ui): ime input move cursor #4521
base: dev
Are you sure you want to change the base?
Conversation
View Deployment
|
Playwright test resultsDetails 23 tests across 10 suites |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #4521 +/- ##
==========================================
- Coverage 32.68% 32.67% -0.01%
==========================================
Files 2597 2597
Lines 134555 134557 +2
Branches 29940 29942 +2
==========================================
- Hits 43975 43968 -7
- Misses 90580 90589 +9 ☔ View full report in Codecov by Sentry. |
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.
LGTM
export const ShiftClearSelectionValueShortcutItem: IShortcutItem = { | ||
id: ClearSelectionContentCommand.id, | ||
// when focusing on any other input tag do not trigger this shortcut | ||
preconditions: (contextService) => whenSheetEditorFocused(contextService), |
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.
preconditions: (contextService) => whenSheetEditorFocused(contextService), | |
preconditions: whenSheetEditorFocused, |
There is no need to wrap in another anonymous arrow function.
close https://github.com/dream-num/univer-pro/issues/1400
close #4038
Pull Request Checklist