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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 />', () => {