6

When browsing on mobile, answers and their comments appear in their own container (<div class="-summary answer">).

This class is configured with overflow: auto and something within the container causes the content to be slightly taller, resulting in a rather annoying issue when trying to scroll via touch / drag

mobile scrolling bug

All I can tell is that it's something within the comments section, possibly to do with the comment form toggle since the problem isn't present for deleted answers (no toggle present).


Update: The issue appears to be this element

comment form toggle link

It is an inline element with a vertical padding of 9px top and bottom. Since it's inline, its container does not account for the padding-based height (line-height would be a better option than padding here). This creates a bottom margin which pushes out of the container height, creating a scrollable area.

5
  • 6
    Found the appropriate SE Meta post ~ meta.stackexchange.com/questions/356917/…
    – Phil
    Dec 16, 2020 at 5:13
  • 1
    I don't understand why this was closed as "not suitable for this site". The existence of a question on MSE doesn't make a question on MSO off-topic or otherwise unsuitable. If anything makes this unsuitable, it's the fact that the mobile website is long deprecated and no longer supported. Dec 16, 2020 at 16:39
  • 3
    @CodyGray if the mobile site is "deprecated and no longer supported", why is it the default view on mobile devices?
    – Phil
    Dec 16, 2020 at 20:13
  • 1
    Not a question I know the answer to. Other questions that I do not know the answer to: "If Windows 10 Pro is designed for business use, why does it come bundled with Candy Crush Saga?", "If 'people reached' is a meaningless and irrelevant metric, why is it prominently displayed on the user profile?", "If users aren't supposed to keep re-asking their question after the first one is closed, why does the blue banner tell them to do precisely that?", ... Dec 17, 2020 at 5:58
  • 2
    @CodyGray What's your source on the mobile site being no longer supported? I've never seen any SE staff say that. And clearly they're making updates to it, or else this change wouldn't have occurred... Dec 18, 2020 at 15:18

0

You must log in to answer this question.

Browse other questions tagged .