-
-
Notifications
You must be signed in to change notification settings - Fork 439
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(blocks): ime bugs of slash menu and at menu #8444
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
|
Your org has enabled the Graphite merge queue for merging into masterAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 2ec2744. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
size-limit report 📦
|
73a3077
to
1d8586b
Compare
1d8586b
to
83b2bf9
Compare
83b2bf9
to
8384188
Compare
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.
Also tested on macOS and LGTM
Merge activity
|
Close: [BS-1444](https://linear.app/affine-design/issue/BS-1444/在linked-doc面板,输入法输入后,面板消失), [BS-1443](https://linear.app/affine-design/issue/BS-1443/中文输入法下,段落开头输入-【【-无法唤起-linked-doc面板), [BS-1442]( https://linear.app/affine-design/issue/BS-1442/中文输入法下,输入-面板显示位置错误) This PR fixes IME issues of the @ menu and slash menu, including: - Incorrect positioning of the slash menu popover. - Can not open the @ menu using `【【`. - Can not search within the @ menu using IME. The cause of these issues is that, in Windows Microsoft Pinyin, the inline range is updated when the `compositionend` event is triggered. Consequently, the slot `this.inlineEditor.slots.renderComplete.once` and `inlineEditor.slots.inlineRangeSync.once` are delayed until the next keyboard input. Related PR: #7914 ### Before https://github.com/user-attachments/assets/bf9aed3e-e673-437a-8375-7ce219d1d07c ### After https://github.com/user-attachments/assets/4d3eebfd-0869-4051-87e6-c210216b4751
8384188
to
2ec2744
Compare
Close: BS-1444, BS-1443, BS-1442
This PR fixes IME issues of the @ menu and slash menu, including:
【【
.The cause of these issues is that, in Windows Microsoft Pinyin, the inline range is updated when the
compositionend
event is triggered. Consequently, the slotthis.inlineEditor.slots.renderComplete.once
andinlineEditor.slots.inlineRangeSync.once
are delayed until the next keyboard input. Related PR: #7914Before
2024-09-24-17-24-35.mp4
After
2024-09-24-17-27-38.mp4