Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Suppress low-attention styles with keyboard focus.

Karl Stolley7a2116ab5d4f
diff --git a/web/styles/compose.css b/web/styles/compose.css
index bec010cffce..60327475687 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1283,7 +1283,10 @@ textarea.new_message_textarea {
}
}
-.low-attention-recipient-row {
+/* For the sake of keyboard use, we do not want to apply
+ these styles when any element (the picker, user pills)
+ has focus. */
+.low-attention-recipient-row:not(:focus-within) {
&#compose-recipient {
.decorated-channel-name,
.conversation-arrow,