Tab Bar Load Animation

Nucleic-Session: EEC60FAE-8368-49CA-9202-7026C12E7F8C
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 19:07:55 -07:00
co-authored by Nucleic
parent 311f7e2237
commit eb7a0da106
@@ -208,6 +208,11 @@ struct NewChatAffordance: ViewModifier {
} }
StartChatComposer(draft: $draft, focus: $draftFocused, StartChatComposer(draft: $draft, focus: $draftFocused,
onStart: { isPresented = false }, lockedProject: project) onStart: { isPresented = false }, lockedProject: project)
// Taps on the bar's own empty spots (rounded corners, gaps between
// controls) must not fall through to the scrim and close it — only taps
// outside the bar dismiss. A clear tap-catcher sized to the bar absorbs
// them; the controls, in front, still handle their own taps.
.background(Color.clear.contentShape(Rectangle()).onTapGesture {})
.padding(.horizontal, 12) .padding(.horizontal, 12)
.padding(.bottom, 8) .padding(.bottom, 8)
.transition(.move(edge: .bottom).combined(with: .opacity)) .transition(.move(edge: .bottom).combined(with: .opacity))