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

fix: ignore composing event in slash menu #7351

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

lawvs
Copy link
Collaborator

@lawvs lawvs commented Jun 17, 2024

This pull request fixes an issue where the slash menu was not ignoring composing events.

Before

Screen.Recording.2024-06-18.at.03.06.45.mov

After

Screen.Recording.2024-06-18.at.03.06.21.mov

Copy link

vercel bot commented Jun 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 7:48pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Jun 17, 2024 7:48pm

Copy link

graphite-app bot commented Jun 17, 2024

Your org has enabled the Graphite merge queue for merging into master

Add 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.

@L-Sun
Copy link
Contributor

L-Sun commented Jun 17, 2024

Could you provide more details explaining the differences before and after the changes? On my device, whether the IME is activated or not, the slash key always inputs '/'. Maybe other IMEs input different characters with the slash key, but we plan to support this case to make it easier to use.

@L-Sun L-Sun self-requested a review June 17, 2024 18:20
@lawvs
Copy link
Collaborator Author

lawvs commented Jun 17, 2024

Could you provide more details explaining the differences before and after the changes? On my device, whether the IME is activated or not, the slash key always inputs '/'. Maybe other IMEs input different characters with the slash key, but we plan to support this case to make it easier to use.

The slash menu has a query function. This PR mainly fixes the user experience when using IME query. I have updated a comparison video in the PR description.

@L-Sun
Copy link
Contributor

L-Sun commented Jun 17, 2024

The slash menu has a query function. This PR mainly fixes the user experience when using IME query. I have updated a comparison video in the PR description.

Good catch, and it makes sense.

@L-Sun L-Sun added the merge label Jun 17, 2024
Copy link

graphite-app bot commented Jun 17, 2024

Merge activity

  • Jun 17, 3:46 PM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jun 17, 3:46 PM EDT: L-Sun added this pull request to the Graphite merge queue.
  • Jun 17, 3:56 PM EDT: L-Sun merged this pull request with the Graphite merge queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants