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

[Bug Report] Unexpected behavior of moving cursor by "⬆️" arrow key between table and codeblock #7270

Open
ShenQingchuan opened this issue Jun 11, 2024 · 1 comment
Assignees
Labels
mod:hotkey Module: related to hotkey binding type:bug Something isn't working

Comments

@lawvs lawvs added type:bug Something isn't working mod:code Module: related to code block mod:hotkey Module: related to hotkey binding and removed mod:code Module: related to code block labels Jun 17, 2024
@lawvs
Copy link
Member

lawvs commented Jun 17, 2024

I can reproduce this problem, I think this problem is related to

if (
!matchFlavours(prevBlock.model, [
'affine:paragraph',
'affine:list',
'affine:code',
])
) {
this._std.command
.chain()
.with({
focusBlock: prevBlock,
})
.selectBlock()
.run();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod:hotkey Module: related to hotkey binding type:bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants