macOS: make text editor in clipboard confirmation non focusable (#9400)
With its being `focusable`(default), the first responder became the text editor instead of the paste button. This fixes the issue where one can't confirm with the keyboard. This doesn't affect its selection.pull/8960/merge
parent
4818c2b896
commit
c7d5d1b9fc
|
|
@ -52,6 +52,7 @@ struct ClipboardConfirmationView: View {
|
|||
}
|
||||
|
||||
TextEditor(text: .constant(contents))
|
||||
.focusable(false)
|
||||
.font(.system(.body, design: .monospaced))
|
||||
|
||||
HStack {
|
||||
|
|
|
|||
Loading…
Reference in New Issue