1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Close context menu when a modal is opened to prevent user getting stuck (#9560)

This commit is contained in:
Michael Telatynski
2022-11-09 15:33:09 +00:00
committed by GitHub
parent 7fbdd8bb5d
commit da779531f1
4 changed files with 81 additions and 3 deletions

View File

@ -69,6 +69,9 @@ jest.mock('../../../../src/stores/OwnProfileStore', () => ({
jest.mock('../../../../src/Modal', () => ({
createDialog: jest.fn(),
on: jest.fn(),
off: jest.fn(),
ModalManagerEvent: { Opened: "opened" },
}));
describe('<LocationShareMenu />', () => {