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

feat(selection): support scroll wheel to move dragging blocks #1977

Conversation

fundon
Copy link
Contributor

@fundon fundon commented Apr 7, 2023

Screen.Recording.2023-04-10.at.10.55.06.AM.mov

@codesandbox
Copy link

codesandbox bot commented Apr 7, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@vercel
Copy link

vercel bot commented Apr 7, 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 Apr 10, 2023 1:53pm
blocksuite-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2023 1:53pm
blocksuite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2023 1:53pm

@fundon fundon marked this pull request as draft April 7, 2023 08:11
@fundon fundon changed the title feat(selection): support dragging blocks on scrolling wheel feat(selection): support scroll wheel to move dragging blocks Apr 7, 2023
@fundon fundon force-pushed the feat/support-dragging-blocks-on-scrolling-wheel branch 2 times, most recently from 9865cd9 to 9cd0a10 Compare April 9, 2023 14:27
@fundon fundon force-pushed the feat/support-dragging-blocks-on-scrolling-wheel branch from 6bfccc9 to e638de5 Compare April 10, 2023 03:02
@fundon
Copy link
Contributor Author

fundon commented Apr 10, 2023

Included #1310

@fundon
Copy link
Contributor Author

fundon commented Apr 10, 2023

Included #1164

Copy link
Member

@doodlewind doodlewind left a comment

Choose a reason for hiding this comment

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

I suggest having some further refactoring on selection for decoupling (making the selection-related components pluggable for the editor) and better reusability, since its complexity grows fast. Will discuss with @fundon for more plannings, thanks!

@doodlewind doodlewind merged commit 23baa93 into toeverything:master Apr 11, 2023
10 checks passed
@fundon fundon deleted the feat/support-dragging-blocks-on-scrolling-wheel branch April 11, 2023 06:14
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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants