Skip to content

Message input content is pushing into the navigation header and safe areaΒ #699

@ruYJWkgd

Description

@ruYJWkgd

What did you do?

Typed a really long message, and added an image to the message.

What did you expect to happen?

I expected the message input field to stay within the bounds of the list.

What happened instead?

The message input view went through navigation header and into the safe area of the device (see example below).

Simulator Screenshot - iPhone 16 Pro - 2024-12-31 at 14 51 34

GetStream Environment

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

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