Skip to content

Incorrect child block UI when a hidden property has an empty value #1189

Open
logseq/logseq
#13870

Description

@jhjhree

Search first

  • I searched and no similar issues were found

What Happened?

The child block UI is displayed incorrectly when a block contains a hidden property with an empty value.

Even though the block has no child blocks other than the empty property, the UI incorrectly displays the expand/collapse control as if the block had children.

Reproduce the Bug

  1. Create a block with a property that has an empty value.
  2. Hide the property from the UI.
  3. Make sure the block has no child blocks other than the hidden empty property.
  4. Observe the block's child block UI.

Expected Behavior

The expand/collapse control should not be displayed because the block has no child blocks.

Screenshots

No response

Files

No response

Browser, Desktop or Mobile Platform Information

windows 11
logseq 2.0.1-alpha+nightly.20260907

Additional Context

No response

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. tiensonqin commented on Sep 17, 2026

    @tiensonqin
    Contributor

    @jhjhree Can you record a video on it? I'm unable to reproduce it.

  2. self-assigned this
    on Sep 17, 2026
  3. added
    bug
    awaiting-response
    on Sep 17, 2026
  4. jhjhree commented on Sep 17, 2026

    @jhjhree
    Author
    Image

    @tiensonqin I explained it a little incorrectly. More precisely, when the todo property is assigned and the other tag properties of the #task are left empty, a meaningless UI element for the child blocks appears. (nightly 260916)

  5. yuxi-liu-wired commented on Oct 27, 2026

    @yuxi-liu-wired

    Fixed in logseq/logseq#13890 (fix(editor): collapse arrow, ordered-list Backspace, date picker Enter and selection bar actions). Its description has the cause and the test that pins it; it fails on current master and passes with the fix.

  6. 5 remaining items

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

Metadata

Metadata

Assignees

Labels

awaiting-responsebug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions