From eb7a0da1068ccd7d6b02caa79ecb0901f05eb5a8 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 19:07:55 -0700 Subject: [PATCH] Tab Bar Load Animation Nucleic-Session: EEC60FAE-8368-49CA-9202-7026C12E7F8C Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/Composer.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/Composer.swift b/NucleicRemote/NucleicRemote/Views/Composer.swift index 46eb6a4..fae1237 100644 --- a/NucleicRemote/NucleicRemote/Views/Composer.swift +++ b/NucleicRemote/NucleicRemote/Views/Composer.swift @@ -208,6 +208,11 @@ struct NewChatAffordance: ViewModifier { } StartChatComposer(draft: $draft, focus: $draftFocused, 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(.bottom, 8) .transition(.move(edge: .bottom).combined(with: .opacity))