Skip to content

Commit 5486fdf

Browse files
authored
fix: Native Search Field focus regression when clearing text (#929)
1 parent 9a0479e commit 5486fdf

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4646
- Crash on macOS 26 when opening SQL Preview (NSColor.cgColor calls deprecated colorSpaceName)
4747
- Connection form: `usePrivateKey=true` from URL no longer disables Test/Create buttons
4848
- Transient connections from URL clean up keychain entries on connection failure
49+
- Native Search Field focus regression when clearing text
4950

5051
## [0.36.0] - 2026-04-27
5152

TablePro/Views/Sidebar/NativeSearchField.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ struct NativeSearchField: NSViewRepresentable {
6060

6161
func searchFieldDidEndSearching(_ sender: NSSearchField) {
6262
text.wrappedValue = ""
63-
sender.window?.makeFirstResponder(nil)
6463
}
6564

6665
func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {

0 commit comments

Comments
 (0)