From 203a89351e23dd8e2a4cb1ce39977db479cb0b03 Mon Sep 17 00:00:00 2001 From: clover caruso Date: Sun, 11 Oct 2026 15:30:08 -0700 Subject: [PATCH] fix(ios): keep list menus clear of the software keyboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keep each list responder’s input view stable and empty so UIKit menu restoration preserves list Undo ownership without requesting a text keyboard. Controlled native probes showed resignation prevents the obstruction while detaching search does not. Refs: #125, #126 Assisted-by: gpt-6.1-sol --- apps/ios/Snowbound/Lists.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/ios/Snowbound/Lists.swift b/apps/ios/Snowbound/Lists.swift index 0a1e7d1a44d0864bb1b153a5ae549034d5fa24c3..977bcdc4ecefa2475e458350f42b6a88a37c396c 100644 --- a/apps/ios/Snowbound/Lists.swift +++ b/apps/ios/Snowbound/Lists.swift @@ -4,6 +4,9 @@ import UniformTypeIdentifiers /// The places notebooks are kept, each listing its notebooks with their sections, as Files /// lists its locations and Notes each account's folders. final class NotebooksViewController: UICollectionViewController, UIDocumentPickerDelegate { + private let listInputView = UIView(frame: .zero) + override var inputView: UIView? { listInputView } + enum Location: Hashable { /// Snowbound's folder in iCloud Drive, where new notebooks go while iCloud Drive is on. case icloud @@ -978,6 +981,9 @@ extension UIFont { /// A section's pages, subpages indented, each page's conflict pages beneath it. final class PagesViewController: UITableViewController { + private let listInputView = UIView(frame: .zero) + override var inputView: UIView? { listInputView } + struct Item { let row: Row let version: Row.Version? -- 2.54.0