Skip to content

Rapid Enter then Tab causes first line to be indented instead of the second line #821

Closed

Description

@asano69

Search first

  • I searched and no similar issues were found

What Happened?

After typing text and quickly pressing Enter followed by Tab, only the first line is indented, even though only the second line should be indented.

Reproduce the Bug

  1. Type some text on a line.
  2. Quickly press Enter to move to a new line.
  3. Immediately press Tab after pressing Enter.
  4. Observe that the first line becomes indented instead of the second line.

Expected Behavior

After pressing Enter, a new line should be created, and pressing Tab should indent only the second (newly created) line, while the first line remains unchanged.

Files

No response

Browser, Desktop or Mobile Platform Information

This issue occurs on both the web client at https://test.logseq.com/
(today’s version) and the Linux desktop application.

Additional Context

The issue is more noticeable when testing in both Firefox and Chrome while having many tabs open. In addition, this behavior did not occur in the Markdown version; even when pressing Enter and Tab almost simultaneously, the problem did not appear there.

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. asano69 commented on Apr 25, 2026

    @asano69
    Author

    This issue is very frustrating for me and has become a major reason for me to switch back to the Markdown version.

  2. self-assigned this
    on Apr 30, 2026
  3. added
    bug
    on Apr 30, 2026
  4. added a commit that references this issue on May 7, 2026
  5. added a commit that references this issue on May 7, 2026
  6. asano69 commented on May 11, 2026

    @asano69
    Author

    Thank you for fixing the bug. It's really nice to see the db version becoming more user-friendly with each update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions