On iPad running iOS 26, UIKeyboardType.decimalPad sometimes appears as a floating keypad (compact panel) instead of the docked, full-width keyboard. Our app attaches a custom toolbar via inputAccessoryView, so the floating keypad hides the toolbar and breaks the flow. We’d like to opt out of the floating keypad or force the keyboard to remain docked when a toolbar is present.
Environment
Device: iPad (multiple models)
OS: iPadOS 26.0
App type: UIKit
Field: UITextField with keyboardType = .decimalPad
We present a custom toolbar via inputAccessoryView
Expected Docked (full-width) keyboard so the inputAccessoryView toolbar is visible and sized correctly.
Actual A floating decimal keypad appears and covers content; our accessory toolbar isn’t visible/attached to it.
Why this matters Our toolbar contains required domain actions (Done/Next, Previous). When the keypad floats, the user loses these controls.
Questions
Is there a supported way to opt out of the floating numeric keypad on iPad when using decimalPad?
Is there an API/trait to prefer docked keyboard (e.g., when an inputAccessoryView is present)?