src/Apptag/ApptagApp.swift
@@ -2169,12 +2169,15 @@ // NSHostingView.hitTest may return a SwiftUI-internal wrapper — the // actual AppKit subview may be nested deeper. if let container = findTextFieldContainer(in: hit) { container.mouseDown(with: event) container.focusTextField() return } if let tf = findNSTextField(in: hit) { let shouldSelectAll = tf.currentEditor() == nil tf.window?.makeFirstResponder(tf) tf.mouseDown(with: event) if shouldSelectAll { tf.selectText(nil) } return } super.mouseDown(with: event)