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.

inbox: Fix left arrow navigating to unread count for inbox-row.

Aman Agrawald7451ac456cb
diff --git a/web/src/inbox_ui.js b/web/src/inbox_ui.js
index 3d35e304119..be80cd0b79b 100644
--- a/web/src/inbox_ui.js
+++ b/web/src/inbox_ui.js
@@ -600,7 +600,7 @@ function set_list_focus(input_key) {
// Since header rows always have a collapse button, other rows have one less element to focus.
if (col_focus === COLUMNS.COLLAPSE_BUTTON) {
if (not_a_header_row && LEFT_NAVIGATION_KEYS.includes(input_key)) {
- col_focus = total_cols - 1;
+ col_focus = total_cols;
} else {
$row_to_focus.trigger("focus");
return;