Support presenting the chat modally using UISheetPresentationController #2286
Replies: 4 comments
-
Hi @pbendersky! You can override Best, |
Beta Was this translation helpful? Give feedback.
-
@nuno-vieira thank you for your answer. Do you know if the SwiftUI implementation uses the same technique to invert the scrolling? If not, we may try that route. |
Beta Was this translation helpful? Give feedback.
-
Hi @pbendersky, The SwiftUI SDK is also using an inverted list. |
Beta Was this translation helpful? Give feedback.
-
@pbendersky, for now, it looks the only way to replicate this is to do a custom presentation. I'm going to convert this one as a discussion, and we will let you know once we have a plan to make this out of the box. Best, |
Beta Was this translation helpful? Give feedback.
-
What are you trying to achieve?
Present the chat UI without modally without covering the entire screen (we are presenting it over a playing video).
If possible, how can you achieve this currently?
We can't. As a workaround, we are presenting it as a modal that covers the entire screen.
What would be the better way?
We'd like to present the modal using
UISheetPresentationController
with detents, so it doesn't cover the playing video.GetStream Environment
GetStream Chat version: 4.20.0
GetStream Chat frameworks: StreamChat, StreamChatUI
iOS version: iOS 15 and up
Additional context
This is related to #1307 where you added support for presenting the chat modally.
Beta Was this translation helpful? Give feedback.
All reactions