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(caret): right-arrow on last non-default block #1416

Merged
merged 4 commits into from
Nov 21, 2020

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Nov 5, 2020

Before:

If we'll press Right or Down not at the end of the last non-default block, the new block will be created

After:

If we'll press Right or Down not at the end of the last non-default block, nothing would happen. But if we do it when caret will be set at the end, the new block will be created.

Resolves #1414

@neSpecc neSpecc merged commit e319e04 into next Nov 21, 2020
@neSpecc neSpecc deleted the fix/last-block-navigation branch November 21, 2020 13:44
neSpecc added a commit that referenced this pull request Dec 8, 2020
* fix(caret): last non-default block navigation won't craete a new block untill reaching the end

* reuse variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Unnecessary block creation after arrow navigation at last non-default block
3 participants