We could not reproduce this issue. To assist you with your question, please provide more details including a runnable test case (as described in our support guidelines).
To get the fastest possible support, provide a simple test case based on our standard examples.
the exception appear just when i use scheduler in our framework. As you see we need prototype.js.
Is there a way to do our own context menu? I tryed oncontextmenu and contextmenu both are not working.
listeners: {
contextmenu: function (clicky) {
let menu = new bryntum.scheduler.Menu({
forElement: btn.element,
items: [{
icon: 'b-icon b-icon-add',
text: 'Add'
}, {
icon: 'b-icon b-icon-trash',
text: 'Remove'
}
// Method is called for all ancestor levels
onItem: function( item ) {
toast('You clicked ' + item.text);
}
});
},