Close context menu when a modal is opened to prevent user getting stuck (#9560)
This commit is contained in:
parent
7fbdd8bb5d
commit
da779531f1
4 changed files with 81 additions and 3 deletions
|
@ -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 />', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue