Hi there, how to disable the TaskMenu on right click over a task card?
I want only appears the TaskMenu when I click on ellipsis like so:
Regards
Try this:
const taskBoard = new TaskBoard({
features : {
taskMenu : false
}
https://bryntum.com/docs/taskboard/#TaskBoard/guides/basics/features.md
All the best,
Alex
triggerEvent
is supposed to handle this behavior, but it doesn't work in the current release. I've opened a ticket to make this configurable: https://github.com/bryntum/support/issues/3399 Thank you for report.
For now you can try disabling menu with this config:
features : {
taskMenu : { onTaskContextMenu : () => {} }
}
After every release, there is a changelog - you should read it always to know what changed. It includes:
* TaskMenu now has a configurable
triggerEvent
allowing you to define which event (if any) should trigger it
(Fixed #3399)
Docs: https://www.bryntum.com/docs/taskboard/#TaskBoard/feature/TaskMenu#config-triggerEvent