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.

popover_menus: Extend arrow based navigation to tabbable components.

Sayam Samal51ed6a4d7bee
diff --git a/web/src/popover_menus.ts b/web/src/popover_menus.ts
index 54e58859bde..6e54e027644 100644
--- a/web/src/popover_menus.ts
+++ b/web/src/popover_menus.ts
@@ -146,7 +146,7 @@ function get_popover_items_for_instance(instance: PopoverInstance): JQuery | und
return undefined;
}
- return $current_elem.find("a:visible");
+ return $current_elem.find("a, [tabindex='0']").filter(":visible");
}
export const default_popover_props: Partial<PopoverProps> = {