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: Only transition when low-attention row hovered.

Karl Stolleyde7419a528f1
diff --git a/web/styles/compose.css b/web/styles/compose.css
index a5ce7e458e7..73b1c60dc31 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1241,9 +1241,10 @@ textarea.new_message_textarea {
the mouse, once the compose box is open. Any keyboard
interactions (e.g., Shift-Tabbing from the compose textarea
to the topic box) show instant changes, so we don't need to
- accommodate them here. */
-#compose.compose-box-open:hover {
- .low-attention-recipient-row {
+ accommodate them here, which we prevent by applying the
+ transitions only when focus isn't within the recipient row. */
+#compose.compose-box-open {
+ .low-attention-recipient-row:hover:not(:focus-within) {
#compose_select_recipient_widget,
#compose_recipient_box,
#compose-direct-recipient .pill-container {