Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(etherpad) close menu when opening / closing document

Saúl Ibarra Corretgé780019a7117c
diff --git a/react/features/etherpad/components/SharedDocumentButton.web.js b/react/features/etherpad/components/SharedDocumentButton.web.js
index 222d9fdbbe..a9c2e1a708 100644
--- a/react/features/etherpad/components/SharedDocumentButton.web.js
+++ b/react/features/etherpad/components/SharedDocumentButton.web.js
@@ -8,6 +8,7 @@ import { IconShareDoc } from '../../base/icons';
import { connect } from '../../base/redux';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { toggleDocument } from '../../etherpad/actions';
+import { setOverflowMenuVisible } from '../../toolbox/actions.web';
type Props = AbstractButtonProps & {
@@ -67,6 +68,7 @@ class SharedDocumentButton extends AbstractButton<Props, *> {
}));
dispatch(toggleDocument());
+ dispatch(setOverflowMenuVisible(false));
}
/**