Skip to content

Narrow lands above or in the middle of latest message on iOS #4375

Open
@titanous

Description

@titanous

In the process of testing #4370 and #4374 I noticed that on iOS the scroll position sometimes ends up a few dozen px above the bottom of the latest message. For short messages, this can mean the whole message or a few one-line messages are below the bottom of the viewport, and in other cases this just results in the reactions or some of the text at the bottom of a single outside of the viewport.

In my limited testing of an Android 11/Pixel 3a emulator I haven't noticed the same thing.

This appears to happen on around 10-20% of webview loads in my simulator, and it is not specific to the content, I've seen it happen and not happen for the exact same stream/message, of varying sizes, with and without reactions.

@gnprice observes:

Trying it a few times just now, with v27.157 on an iPhone 7 running iOS 12.4.1, I get results a lot like this. The amount that it's scrolled up by varies from time to time. It's typically the height of several lines of text (or several one-line messages.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions