Horizontal overflow in code blocks on preview not working on iOS

Bug report

I am experiencing code blocks being broken or missing in unintended places in the preview display of an IOS application. I used to be able to scroll horizontally, but no longer seem to be able to.

IOSのアプリケーションのプレビュー表示でコードブロックが意図しない箇所で改行される、見切れるが発生しています。以前は横スクロールできたのですが、できなくなっているようです。

Environment

  • Platform: iOS
  • Platform version: 18.4
  • App Version: v5.6.1(146)

How to reproduce

サンプル

# リポジトリをクローン
git clone https://github.com/username/repository.git
1 Like

Hi Kentaro,

Yes, this has been changed in the last release since the horizontal overflow would conflict with the swipe navigation gesture on Android.
It wasn’t the issue on iOS, so it could be enabled again.

Thank you for your reply. Please enable it again.

Alright, I managed to find a workaround to avoid conflicting pan gestures in the app and webview on Android. So, it can be enabled again on both platforms.
I’ll let you know when I publish a beta version.

Thanks a lot! We’re excited for the beta release.

I’ve pushed a beta v5.6.2-build147. Can you please try it via TestFlight?

Thank you for your swift response. I’ve confirmed everything.

1 Like

Ah, I’ve noticed this too on my iPad! Long code blocks in preview just end up getting cut off, and there’s no way to scroll horizontally. It’s especially annoying when you’re trying to review something on the go.

Would be great if there was a fix or a workaround for this — even a temporary CSS tweak or setting to force horizontal scrolling in preview mode would help a lot.

Glad someone else pointed it out!