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): unselect database cell when click blank area #5104

Conversation

donteatfriedrice
Copy link
Member

To close #5070

Screen.Recording.2023-10-24.at.16.39.44.mov

@vercel
Copy link

vercel bot commented Oct 24, 2023

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 Oct 24, 2023 3:47pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Oct 24, 2023 3:47pm

@@ -206,7 +206,10 @@ export class EdgelessSelectionManager {
this._selection.setGroup('edgeless', [this.state, instance]);
}

clear() {
clear(force = false) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding new option, can we switch the default behavior to force: true?

Copy link
Member Author

@donteatfriedrice donteatfriedrice Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@doouding @Saul-Mirone Can we always clear all the selections in edgeless mode when call selection manager clear function?

@doodlewind doodlewind changed the title fix: unselect database cell when click blank area fix(edgeless): unselect database cell when click blank area Oct 24, 2023
@doodlewind doodlewind merged commit eb7f3ab into toeverything:master Oct 24, 2023
18 checks passed
@donteatfriedrice donteatfriedrice deleted the fix/cannot-copy-paste-after-select-database-cell-in-edgeless-mode branch October 26, 2023 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

Can't deselect database cell in Edgeless Mode(it also breaks copying outside of the database on edgeless)​
2 participants