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

maxLinesSuffix is cutted when advancedRender = true #429

Closed
KaterynaHryhorenko opened this issue Nov 3, 2022 · 1 comment · Fixed by #430 or #448
Closed

maxLinesSuffix is cutted when advancedRender = true #429

KaterynaHryhorenko opened this issue Nov 3, 2022 · 1 comment · Fixed by #430 or #448
Labels

Comments

@KaterynaHryhorenko
Copy link

KaterynaHryhorenko commented Nov 3, 2022

Hi Lightning team,

Is it expected that in advancedRenderer mode maxLineSuffix will be corrupted?

Example

Screenshot 2022-11-03 101856

Quote: {
        text: {
          textColor: '#ffffffff',
          maxLines: 2,
          wordWrapWidth: 1000,
          textOverflow: 'ellipsis',
          maxLinesSuffix: '... <b>End of text</b>',
          advancedRenderer: true,
          text: "Humanity takes itself too seriously. It is the world's original sin. If the cave-man had known how to laugh, History would have been different",
        },
      },
@g-zachar
Copy link
Contributor

g-zachar commented Nov 5, 2022

Hi @KaterynaHryhorenko

thanks for reporting, this is indeed unintended behavior. Should be fixed in the next release.

Best regards

@frank-weindel frank-weindel linked a pull request Nov 8, 2022 that will close this issue
@uguraslan uguraslan mentioned this issue Feb 7, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants