Created
June 23, 2023 18:08
-
-
Save aaronbushnell/fdef8ddfe95369b789fbf867bb689a24 to your computer and use it in GitHub Desktop.
Keyboard bug showing whitespace upon dismissal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct ContentView: View { | |
@State private var name = "" | |
var body: some View { | |
NavigationStack { | |
Form { | |
TextField("Name", text: $name) | |
} | |
.navigationTitle("Contacts") | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
@main | |
struct SwiftUIByExampleApp: App { | |
var body: some Scene { | |
WindowGroup { | |
ContentView() | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment