popovers: Hide when starting certain actions.

These are actions which can be called when a popover is open and
it is better to close the popover when these actions are
initiated.
This commit is contained in:
Aman Agrawal
2023-10-23 02:23:05 +00:00
committed by Tim Abbott
parent c9891b4121
commit a210006ecd
6 changed files with 16 additions and 2 deletions

View File

@@ -58,6 +58,9 @@ mock_esm("../src/message_lists", {
mock_esm("../src/resize", {
reset_compose_message_max_height: noop,
});
mock_esm("../src/popovers", {
hide_all: noop,
});
const people = zrequire("people");