iOS client for Grain grain.social
ios photography atproto
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: make login input keyboard-aware

Replace fixed layout with ScrollView so content scrolls up when the
keyboard appears. Adds interactive keyboard dismiss on scroll.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+7 -3
+7 -3
Grain/Views/LoginView.swift
··· 25 25 .ignoresSafeArea() 26 26 .allowsHitTesting(false) 27 27 28 - VStack(spacing: 0) { 28 + ScrollView { 29 29 Spacer() 30 + .frame(minHeight: 100) 31 + .frame(maxHeight: .infinity) 30 32 31 33 // Logo 32 34 Text("grain") ··· 165 167 Spacer() 166 168 .frame(height: 60) 167 169 } 170 + .frame(minHeight: geo.size.height) 171 + } 172 + .scrollDismissesKeyboard(.interactively) 173 + .scrollIndicators(.hidden) 168 174 } 169 175 } 170 - .ignoresSafeArea(.keyboard) 171 - } 172 176 173 177 private func login() async { 174 178 isLoading = true