ChatChannelView floating composer leaves extra bottom gap in iOS 26 tabViewBottomAccessory hosts
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start with the minimal TabView/tabViewBottomAccessory reproduction using ChatChannelView with composerPlacement = .floating, then inspect MessageListConfig.handleTabBarVisibility and the floating composer/list inset behavior. Compare the accessory-hosted, tab-bar-hidden, and bypass configurations; done means the extra bottom gap is gone while the composer remains above the keyboard.
Written by the indexing model from the issue text.
Description
Updated findings
- This does not reproduce in the stock Stream demo app.
- The issue appears when stock
ChatChannelViewis embedded under a rootTabViewthat uses iOS 26tabViewBottomAccessory. - The same class of regression can also be triggered by applying
.toolbar(.hidden, for: .tabBar)on the pushed channel screen. - If chat bypasses the accessory shell and we do not hide the tab bar from the channel screen, the layout looks correct.
- So this now looks less like a generic “floating composer always reserves space” bug and more like a compatibility issue between
ChatChannelView's floating composer layout and Apple’s new tab accessory / tab-bar visibility environment.
What did you do?
- Presented stock
ChatChannelViewfull-screen in SwiftUI. - Used
composerPlacement = .floating. - Tested on the current Stream v5 beta line (
developbranch revisions listed below). - Reproduced inside a host app whose root
TabViewuses iOS 26tabViewBottomAccessory. - Also tested the same host flow with
.toolbar(.hidden, for: .tabBar)on the pushed channel screen. - Compared against the stock Stream demo app and against a host configuration where chat bypasses the accessory shell.
What did you expect to happen?
- With
composerPlacement = .floating, the newest message should rest directly under the visible floating composer chrome, without a persistent reserved bottom band. - The composer should still remain correctly positioned above the keyboard.
ChatChannelViewshould coexist withtabViewBottomAccessoryjust as it does in a normal tab/push setup.
What happened instead?
- In the accessory-hosted configuration, the transcript keeps an extra bottom band/gap under the latest message.
- Hiding the tab bar on the pushed channel screen with
.toolbar(.hidden, for: .tabBar)can trigger the same class of regression. - If the host forces
.ignoresSafeArea(edges: .bottom)to remove the band, the keyboard can cover the composer. - If chat bypasses the accessory shell, the gap disappears.
Current findings
MessageListConfig.handleTabBarVisibilityalone is not the fix.- This is not fundamentally caused by modal vs push navigation.
- This is not caused by our extra wrapper chrome; a slimmed-down wrapper still reproduces if chat is routed through the accessory shell.
- During SDK-side instrumentation,
tabViewBottomAccessoryPlacementwasnilfrom insideChatChannelViewduring the bad host repro, so detecting accessory presence from that environment alone may not be sufficient. - We also observed cases where the floating transcript inset tracked the raw measured composer container height (
76pt) rather than the visible overlap (48pt), suggesting the composer/list inset logic may be sensitive to container state and/or padded composer measurements in this environment.
Minimal repro shape
- App root has a
TabView. TabViewappliestabViewBottomAccessory.- One tab contains Stream channel list and pushes into stock
ChatChannelView. ChatChannelViewusescomposerPlacement = .floating.- Observe extra space under the floating composer.
- Remove the accessory or bypass it for chat, and the gap disappears.
GetStream Environment
GetStream Chat version: v5 beta line from develop
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version: iOS 26.4
Swift version: Apple Swift 6.3
Xcode version: Xcode 26.4
Device: iPhone 17 Simulator
Additional context
composerPlacement = .floating- Exact revisions in our repro:
StreamChatSwiftUI:d46ad84161a8d69f913fd160c5a707e6afb244c4StreamChat:dd9866b59db06bcadca614892b2ed006297ac73b
- These
developrevisions are ahead of the5.0.0-betatag, so this repro is on the current v5 beta line rather than the exact beta tag. - Current local workaround: bypass the shell modifier that applies
tabViewBottomAccessoryfor chat, keephandleTabBarVisibilityenabled, and avoid.toolbar(.hidden, for: .tabBar)on the channel screen. - This now appears upstream-relevant as a compatibility issue between Stream’s floating composer layout and Apple’s iOS 26 tab accessory / tab-bar visibility model, rather than just a missing public underlap hook.
- Dominant language
- Swift
- Stars
- 502
- Forks
- 125
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 28
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GetStream/stream-chat-swiftui
-
Feature request
Difficulty 5/5 Over a week Newbie friendliness 35/100
GetStream/stream-chat-swiftui#1220 · 1 comment ·
Maintainers usually reply within 1 day
-
🐞 Bug
Difficulty 3/5 1-2 days Newbie friendliness 42/100
GetStream/stream-chat-swiftui#866 · 4 comments ·
Maintainers usually reply within 1 day
-
Grouping optionsOpenenhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
GetStream/stream-chat-swiftui#412 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in GetStream/stream-chat-swiftui
Similar issues
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug priority:low status:queued
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Insights trim drops today's rollups before newer DNS answers during a DNS floodPossibly taken A pull request linked to this issue is open or already merged. Openbug priority:low status:in-progress
Difficulty 2/5 Half a day Newbie friendliness 67/100
isaaclins/freesnitch#588 ·
Maintainers usually reply within 1 day
-
bug P2: medium
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
leepokai/Codync#618 · 1 comment ·
Maintainers usually reply within 1 day