The context menu should preserve it state after being closed. Such as if I active and expand a category, it should stay active if I trigger the context menu next time.
Hide the triangle if the menu item has no children.
Disable or increase the speed of the animation. Just feel too slow to me.
Not necessary to have a default item, could be like following:
[expand/collapse] → ▷ string ← [default string input]
.....................................└ textarea ←[textarea]