git-touch icon indicating copy to clipboard operation
git-touch copied to clipboard

Improve Markdown Rendering when using Webview (Android)

Open Rud156 opened this issue 4 years ago • 5 comments
trafficstars

Opening Repos with a lot of Markdown content in its Readme.md file crashes the app. Also in a lot of cases even if the Markdown is not huge it is unable to render it completely.

Examples:

  • https://github.com/transloadit/uppy
  • https://github.com/mdn/content
  • https://github.com/openpgpjs/openpgpjs

Rud156 avatar Dec 16 '20 04:12 Rud156

Thanks for the feedback.

Could you please provide more device info, for example, Android or iOS, System version?

pd4d10 avatar Feb 14 '21 13:02 pd4d10

@pd4d10 I am having the same issue, on latest fdroid build 1.11.1.

Device: Google Pixel 4 non-xl, Android 11 Janurary 2021 security update.

The other application, OctoDroid which I was looking to switch from as this integrates other services like Gitlab, also had similar issue was was addressed in an earlier update.

CodeCracker-oss avatar Feb 21 '21 05:02 CodeCracker-oss

I have the same issue. How about setting the flutter render engine as default before this issue is properly solved?

linsui avatar Feb 27 '21 10:02 linsui

Yep, it seems that the Android webview widget may have some problems, for example #123 and #194

setting the flutter render engine as default

Makes sense. We could make Flutter render engine as default on Android.

pd4d10 avatar Feb 27 '21 11:02 pd4d10

The reason we prefer Webview previously is that inline HTML is not supported in the Flutter markdown widget.

BTW, this issue could be submitted to the official repo: https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22p%3A+webview%22

pd4d10 avatar Feb 27 '21 11:02 pd4d10