reports icon indicating copy to clipboard operation
reports copied to clipboard

FB17890661: UISheetPresentationController: Expose property to prevent sheet from expanding for keyboard

Open samhenrigold opened this issue 6 months ago • 0 comments

Submission Date

2025-06-09

Status

Open

Area

UIKit

Operating System Version

iOS 26.0

Type

Suggestion

Description

I have a bottom sheet that works as a hybrid search/chat UI. The sheet’s search detent hugs the height of the text field (in other words, the sheet is minimized), and the chat detent is full-height.

When the sheet is minimized and I focus the text field, the sheet automatically expands to the largest possible detent. I do not want this behavior — it is a valid state for the sheet to be minimized with the text field focused/keyboard up.

The search detent should resize to accommodate the keyboard, sure, but I would like a way to prevent the sheet from automatically changing detents.

Keywords

No response

Prerequisites

  • [x] The title follows the format FB<number>: <title>
  • [x] I will keep this issue updated with Apple's responses

samhenrigold avatar Jun 10 '25 18:06 samhenrigold