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(edgeless): bind shortcuts in toolbar should dispose when tool disconnected #7329

Merged

Conversation

CatsJuice
Copy link
Member

@CatsJuice CatsJuice commented Jun 14, 2024

Tool buttons in edgeless toolbar may destroy and re-mount, so it's better to dispose the hot-key events when it disconnected.

Copy link

vercel bot commented Jun 14, 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 5:42am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Jun 17, 2024 5:42am

Copy link

graphite-app bot commented Jun 14, 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.

Copy link
Member Author

CatsJuice commented Jun 14, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatsJuice and the rest of your teammates on Graphite Graphite

Copy link

graphite-app bot commented Jun 17, 2024

Merge activity

  • Jun 17, 1:39 AM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jun 17, 1:39 AM EDT: Saul-Mirone added this pull request to the Graphite merge queue.
  • Jun 17, 1:50 AM EDT: Saul-Mirone merged this pull request with the Graphite merge queue.

…connected (#7329)

Tool buttons in edgeless toolbar may destroy and re-mount, so it's better to dispose the hot-key events when it disconnected.
@Saul-Mirone Saul-Mirone force-pushed the catsjuice/fix/edgeless-toolbar-shortcuts-dispose branch from d29b0f4 to 5d6bac6 Compare June 17, 2024 05:40
@graphite-app graphite-app bot merged commit 5d6bac6 into master Jun 17, 2024
19 checks passed
@graphite-app graphite-app bot deleted the catsjuice/fix/edgeless-toolbar-shortcuts-dispose branch June 17, 2024 05:50
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