Scrolling right (or swiping left on overflow content like this (a pre code block)) launches the menu, so you can’t properly see the rest of the text.
If it uses “overflow: auto” or “overflow-x: scroll;” it’ll keep launching the menu. It’s quite annoying and makes the card not very usable. With code snippets, it’s going to need to scroll quite often (I don’t remember earlier versions of AnkiMobile having this issue)
Hmm. Well I’d rather not modify the card template as code could look a bit odd if it’s wrapping, so I guess disabling the swipe gesture could work.
I still feel the mobile app UI would feel a little nicer if it were less sensitive. For instance, Safari swipes from the edge of the screen, not the middle. For example, this example in iOS Safari has the best of both worlds, overflow and swipe.
Is this the same on Android devices? I don’t own one so can’t check.