mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 14:17:46 +00:00
fix(etherpad) close menu when opening / closing document
Specially when we oopen it, mouse tracking will no longer work, so it would remain open.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
4d51aedde0
commit
780019a711
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user