Skip to content

makeEmptyMessagesView not staying within bounds #700

@ruYJWkgd

Description

@ruYJWkgd

What did you do?

Created a basic view in the makeEmptyMessageView method (see example below).
Simulator Screenshot - iPhone 16 Pro - 2024-12-31 at 14 59 35

What did you expect to happen?

When I typed a long message, I expected the view to stay in the center of the list (or at least within the bounds of the navigation view).

What happened instead?

The view grew into the navigation header area, and it causes the bottom of the MessageComposerView (where the send button is) to be below the predictive text suggestions of the keyboard (see screenshot below for example).
Simulator Screenshot - iPhone 16 Pro - 2024-12-31 at 15 00 44

GetStream Environment

**GetStream Chat version:4.69.0
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
**iOS version:18.2
**Swift version:5.X
**Xcode version:16.2
**Device:iPhone 16 Pro

Additional context

We are setting the height of the composer input so that the view will grow to the top of the screen (similar to how it does in iMessage) using the following setting:
composerConfig: .init(inputViewMaxHeight: UIScreen.main.bounds.height * 0.5)

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