Skip to content

[BUG] Auto-resize does not work with 'center' text alignment #328

@Ulugbeg

Description

@Ulugbeg

Repro steps:

  • ensure auto-resize is enabled.
  • add a new node to a canvas
  • ensure text alignment is center
  • ensure auto-resize is enabled for the node
  • add multiple lines to the node so the node extends downwards
  • exit the node by clicking on the canvas.
  • observe the node is now resized to the original, minimal size, not displaying all the entered text.
  • change the text-alignment to either left or right
  • click on the node and then on the canvas a few times (sometimes needed)
  • observe that the node now is resized to contain all text.

Changing the text alignment back to center breaks the node again.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions