iOS 26 Beta bug - keyboard toolbar with bottom safe area inset

Hello!

I have experienced a weird bug in iOS 26 Beta (8) and previous beta versions. The safe area inset is not correctly aligned with the keyboard toolbar on real devices and simulators. When you focus a new textfield the bottom safe area is correctly placed aligned the keyboard toolbar.

On real devices the safe area inset view is covered slightly by the keyboard toolbar, which is even worse than on the simulator.

Here's a clip from a simulator:

Here's the code that reproduced the bug I experienced in our app.

#Preview {
    NavigationStack {
        ScrollView {
            TextField("", text: .constant(""))
                .padding()
                .background(Color.secondary)
            TextField("", text: .constant(""))
                .padding()
                .background(Color.green)
        }
        .padding()
        .safeAreaInset(edge: .bottom, content: {
            Color.red
                .frame(maxWidth: .infinity)
                .frame(height: 40)
        })
        .toolbar {
            ToolbarItem(placement: .keyboard) {
                Button {} label: {
                    Text("test")
                }
            }
        }
    }
}
iOS 26 Beta bug - keyboard toolbar with bottom safe area inset
 
 
Q