mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Crash while scrolling feed

Open EricBAndrews opened this issue 1 year ago • 1 comments

From community: https://discuss.tchncs.de/post/16758880

EricBAndrews avatar Jun 03 '24 02:06 EricBAndrews

Some observations:

  • It only happens when .lineLimit() is attached, which we only do when viewing a feed with 'large' posts. Therefore it's a problem with the rendering, not with the parsing logic.
  • It happens in both SwiftMarkdownUI and LemmyMarkdownUI (when using MarkdownText).
  • The crash occurs most of the time, but not always.
  • The text contains non-ascii characters, but removing them doesn't fix the issue.
  • A similar-length string of a single repeated character does not cause a crash.

Sjmarf avatar Jun 03 '24 12:06 Sjmarf

I can't repro this anymore. Assuming this is fixed

Sjmarf avatar Feb 15 '25 14:02 Sjmarf