Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrongly added Automatic Linebreak after confirming text #183

Closed
HabelFLX opened this issue Jul 31, 2023 · 2 comments
Closed

Wrongly added Automatic Linebreak after confirming text #183

HabelFLX opened this issue Jul 31, 2023 · 2 comments

Comments

@HabelFLX
Copy link

Describe the bug
When I add a long text to my image in a way that the text would exceed the canvas' boundaries, automatic linebreaks are added in the preview. But as soon as I confirm the text by clicking the checkmark button, the added linebreaks change so that parts of the text are not visible anymore.

Painterro version
E.g. v1.0.2

To Reproduce
Steps to reproduce the behavior:

  1. Open any image
  2. Add a new Text and start typing a long sentence
  3. when you reach the canvas' boundaries, linebreaks will be added automatically (as expected)
  4. confirm the text
  5. now the linebreak changes and some text is outside the canvas

Expected behavior
The added linebreaks in the preview are correctly displayed. After confirming the text the linebreak should match the preview.

Screenshots
image
image

Browser

  • Google Chrome V 114 on Windows
@ivictbor
Copy link
Collaborator

ivictbor commented Mar 5, 2024

Yes, known issue, started happening after upgrading html to canvas some time ago, once we will have any free time or budget in patreon we will fix this one as prio

@IhorStorozhok
Copy link
Contributor

Duplicate of #154

@IhorStorozhok IhorStorozhok marked this as a duplicate of #154 Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants