Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makeEmptyMessagesView not staying within bounds #700

Open
ruYJWkgd opened this issue Dec 31, 2024 · 1 comment
Open

makeEmptyMessagesView not staying within bounds #700

ruYJWkgd opened this issue Dec 31, 2024 · 1 comment

Comments

@ruYJWkgd
Copy link

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)

@nuno-vieira
Copy link
Member

Hi @ruYJWkgd,

We will investigate this one whenever possible.

Thank you,
Nuno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants