Hi,
I have a extended scheduler menu with custom item that adds note:
scheduleMenuFeature: {
items: {
addEvent: {
text: 'New activity',
},
extraItem: {
text: 'New note',
label: 'note',
icon: 'b-icon b-menuitem-icon b-icon-add',
},
},
},
So I have two menu items: "Add event" and "Add note". When I click on 'Add event', I open default Editor, but when I click on 'Add note', I open custom editor.
I have settings for editor to close it when I click outside the editor:
const editor = WidgetHelper.openPopup(eventElement, {
closeAction: 'destroy',
closable: true,
The bug:
If I click on 'Add note' quickly in different places, after a while, click is stopping to close the Editor and the Editor is still here and new Editor is appearing on the Scheduler. I found the same behaviour in your example:
https://bryntum.com/products/scheduler/examples/eventmenu/
When I press right click on mouse, at first it close Editor and then open menu (the sequences of actions are important). But after some time it starts to show menu while Editor is also here, so Editor is not destroyed, when menu is displayed. It is not a problem in your example because you have only one Editor, but in my project it breaks the closing the one Editor while another is also displayed. After that any click outside the Editor is not closing the broken Editor.
I created video with your example to display what I mean, that the sequences of action is changing.
I will be thankful for any suggestion or help in this issue.