Skip to content

Blocks disappear when outdented past zoom root in focused view #24

@talentwill

Description

@talentwill

Bug Description

When in focused view (zoom mode), pressing Shift+Tab to outdent a block that is a direct child of the zoom root causes the block to disappear.

Steps to Reproduce

  1. Open a page with nested blocks, e.g.:
    • Block A
      • Block B
        • Block C
  2. Click to zoom/focus into Block B
  3. Select Block C
  4. Press Shift+Tab to outdent
outdent-issue.mov

Expected Behavior

Block C should not be outdented, since it's already at the top level under the zoom root. The outdent operation should be blocked.

Actual Behavior

Block C disappears — it gets outdented past the zoom root, breaking the page structure.

Related

Same fix as logseq/logseq#12583 in the DB version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions