I’m trying to open a modal dialog by clicking a cell of handsontable.
It works fine if dropdownMenu is disabled, however, it does not pop up if enabled.
Here is a demo: https://dotnetfiddle.net/HZgSDw
var settings = {
data: Handsontable.helper.createSpreadsheetData(3, 3),
rowHeaders: true,
colHeaders: columnHdrs,
columns: myColumns,
/* WITH THIS OPTION ENABLED, A POP UP DIALOG WILL NOT OPEN */
//dropdownMenu: true,
};
Is there any additional setting I should take care of?
In vanilla js is the same. I think that is because dropdownMenu register table click listener and inside this method call stopPropagation(event);. Without this modal isn’t blocking.
I’ll ask him if there’s anything else we can do to support both methods.