mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	recent_view: Fix right arrow not working on read DM rows.
Fixed by letting col_focus exceed max selectable rows in this case and having it reset back to 0.
This commit is contained in:
		@@ -1429,9 +1429,7 @@ function left_arrow_navigation(row: number, col: number): void {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function right_arrow_navigation(row: number, col: number): void {
 | 
			
		||||
    const type = get_row_type(row);
 | 
			
		||||
 | 
			
		||||
    if (type === "stream" && col === 1 && !has_unread(row)) {
 | 
			
		||||
    if (col === 1 && !has_unread(row)) {
 | 
			
		||||
        col_focus += 1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user