keitaoouchi / MarkdownView

Markdown View for iOS.
MIT License
1.98k stars 213 forks source link

iOS 13 (and 14?) view doesn't show well #97

Open nil2l opened 2 years ago

nil2l commented 2 years ago

iOS 13 Library v 1.9.1

  1. MarkdownUI's height stays zero.
  2. MarkdownUI.onRendered() callback doesn't receive anything.
  3. Also, MarkdownView.onRendered() callback doesn't receive anything.

Workaround In version 1.8.x callbacks works well. So it can be fixed by defining MarkdownUI (presented in 1.9) with frame(height:) bound with onRendered(height).

Note It's really critical. As the library normally needed for iOS 13 and 14. While iOS 15 already has built-in markdown for Text views (though features are limited yet...).