You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect child block UI when a hidden property has an empty value #1189
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
Create a block with a property that has an empty value.
Hide the property from the UI.
Make sure the block has no child blocks other than the hidden empty property.
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.
@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)
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.
Activity
tiensonqin commentedon Sep 17, 2026
@jhjhree Can you record a video on it? I'm unable to reproduce it.
jhjhree commentedon Sep 17, 2026
@tiensonqin I explained it a little incorrectly. More precisely, when the
todoproperty is assigned and the other tag properties of the#taskare left empty, a meaningless UI element for the child blocks appears. (nightly 260916)yuxi-liu-wired commentedon Oct 27, 2026
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.
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
5 remaining items
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…
fix(editor): hide the collapse arrow when a block's properties are al…
fix(editor): keep the collapse arrow while a block's hidden propertie…