diff --git a/DuckDuckGo/SecureVault/View/PasswordManagementLoginItemView.swift b/DuckDuckGo/SecureVault/View/PasswordManagementLoginItemView.swift index 11e130f21c..b351d5e210 100644 --- a/DuckDuckGo/SecureVault/View/PasswordManagementLoginItemView.swift +++ b/DuckDuckGo/SecureVault/View/PasswordManagementLoginItemView.swift @@ -509,6 +509,20 @@ private struct NotesView: View { model.copy(model.notes) }) })) + .modifier(TextSelectionModifier()) + } + } + +} + +private struct TextSelectionModifier: ViewModifier { + + func body(content: Content) -> some View { + if #available(macOS 12, *) { + content + .textSelection(.enabled) + } else { + content } }