SwiftUI macOS Scroll a List With Arrow Keys While a TextField is Active
问题 I'd like to use a SwiftUI TextField and a SwiftUI List to render a "search box" above a list of items. Something roughly like the search box available in Safari's Help menu item...which provides a search box where you can always enter text while simultaneously browsing through the list of results using the up and down arrow keys. I've played with onMoveCommand, focusable, and adjustments to the "parent" NSWindow , but haven't found a clear and obvious way for the TextField to constantly