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
[Bug] Mind map labels are truncated to one line with ellipsis #457
Mind map node labels longer than the renderer's 160px text width are always truncated to one line with an ellipsis, even when the label could wrap onto multiple lines.
and the node height / layout height are fixed (32/36 and 30), so simply allowing more lines would overflow the node.
Expected
Long labels wrap onto multiple lines, the node height grows with the line count, and the mind map layout uses the actual node height. No ellipsis is rendered.
Actual
Long labels are truncated to one line with ....
Reproduction
Render any mind map with a long node label, for example:
awaitrender({type: 'mind-map',width: 600,height: 400,data: {name: 'Project plan',children: [{name: 'A very long node label that should wrap onto several lines'}],},});
Activity