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
Adjacent property values shift their location when they contain child nodes and the user uses the backspace key to delete all the content inside of a property #50
When deleting the last node for a property I noticed that instead of the property return to a state where it displays "Empty" for its values, it instead will shift a node that's in a property above the currently focused property down 1 level, leading to nodes being shifted into a completely different property domain.
Reproduce the Bug
Create a tag with the following two properties that are both text nodes "Description & Details"
Create a page and tag it with the tag you created in step 1
Add some notes to the Description property and be sure to include some child nodes
Add some notes to the Details property.
Now click inside the text node for the Details property - press CTRL+A to select all and press the back space key twice. This should reset the node to a state of being Empty, however, instead what happens is the child node above this property gets shifted down.
Expected Behavior
Deleting the content in a property should not cause adjacent property values to shift their location
Screenshots
chrome_BXxOyxwdKQ.mp4
Browser, Desktop or Mobile Platform Information
Logseq DB Test Environment
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
Search first
What Happened?
When deleting the last node for a property I noticed that instead of the property return to a state where it displays "Empty" for its values, it instead will shift a node that's in a property above the currently focused property down 1 level, leading to nodes being shifted into a completely different property domain.
Reproduce the Bug
Expected Behavior
Deleting the content in a property should not cause adjacent property values to shift their location
Screenshots
chrome_BXxOyxwdKQ.mp4
Browser, Desktop or Mobile Platform Information
Logseq DB Test Environment
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.