Keyboard dismissal not animated

Hello,

I’ve encountered what seems to be a bug with the keyboard dismissal animation on iOS 26.0 Beta (25A5349a), Xcode Version 26.0 beta 5 (17A5295f).

When dismissing the keyboard from a SwiftUI TextField using @FocusState, the keyboard does not animate downward as expected. Instead, it instantly disappears, which feels jarring and inconsistent with system behavior.

I am attaching a short video demonstrating the issue. Below is the minimal reproducible code sample:

//
//  ContentView.swift
//  TestingKeyboardDismissal
//
//  Created by Sasha Morozov on 27/08/25.
//

import SwiftUI

struct ContentView: View {
    @State private var text: String = ""
    @FocusState private var isFocused: Bool

    var body: some View {
        ZStack {
            Color.clear.ignoresSafeArea()

            VStack(spacing: 20) {
                TextField("Enter text here...", text: $text)
                    .textFieldStyle(.roundedBorder)
                    .focused($isFocused)
                    .padding(.horizontal)

                HStack {
                    Button("Focus") { isFocused = true }
                        .buttonStyle(.borderedProminent)

                    Button("Unfocus") { isFocused = false }
                        .buttonStyle(.bordered)
                }
            }
            .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center)
            .padding()
        }
        .ignoresSafeArea(.keyboard, edges: .bottom)
    }
}

#Preview {
    ContentView()
}

Steps to reproduce:

  1. Run** the app on iOS 26.0 beta 5 (17A5295f).
  2. Tap Focus → keyboard appears as expected.
  3. Tap Unfocus → keyboard disappears instantly without the usual slide-down animation.

Expected result: Keyboard should animate smoothly downwards when dismissed.

Actual result: Keyboard instantly vanishes without animation.

p.s. we should be really able to upload videos here for demostration

Could you test if you can reproduce the issue using iOS 26 beta 8 (23A5330a).

If you are able to reproduce the issue in iOS 26 beta 8, please open a bug report, includet the sample code and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

This is still an issue in iOS Beta 8

Keyboard dismissal not animated
 
 
Q