This question already has an answer here:
Recently there was a post that explains how views in Stack Exchange app are determined to be scrollable or not. Also, it fixed the issue on scrolling code-block horizontally on current design, which is lovely!
What surprised (and sometimes annoyed) me is, with very-specific method, now I can scroll
all some1 posts (yes, post, not only code-block) vertically, inside its individual container regardless of the length of the post. And it randomly occurs, even on the same post.
Steps to reproduce:
- On the post body, slide horizontally a little bit (you can also do it on
code-blockto make it easier to see)
- While still holding your finger on the screen, slide vertically.
What happens: The post is scrolled vertically inside the container, perhaps due to the fact that the actual height of the content is actually much taller than the container.
Side effects: Sometimes, the touch event won't be registered (e.g. cannot pop-up the code-block when it's tapped, cannot open the link on the post). Example link.
This is a code-block. You should be able to tap on it to open in pop-up. If you cannot open it, then it is the side effect of this bug.
What I expect: Well... I don't want to scroll the post inside the container, I want to scroll the whole thread instead.
Proposal: Disable vertical scrolling on individual post at all, since code-block is always expanded regardless of the length (i.e. no scroll-bar for tall code-block, compared to on browser).
- Stack Exchange: 1.0.57
- Android model: Nexus 4
- Android version: 5.0.1
1. As of current, I haven't found the criteria for this bug to occur. At least a post that can be displayed wholly on the screen is facing this issue. On the other hand, if the side effects occur, then the post is also facing this issue.