Restore menu to relative rendering.

This commit is contained in:
Dermot Duffy
2022-03-13 11:21:21 -07:00
parent 10d36a4c3e
commit 117f5d6fdc
5 changed files with 44 additions and 74 deletions
+5 -3
View File
@@ -94,10 +94,12 @@ class ActionHandler extends HTMLElement implements ActionHandler {
};
const end = (ev: Event): void => {
// This will ensure only 1 actionHandler is invoked for a given interaction.
stopEventFromActivatingCardWideActions(ev);
const options = element.actionHandlerOptions;
if (!options?.allowPropagation) {
// This will ensure only 1 actionHandler is invoked for a given interaction.
stopEventFromActivatingCardWideActions(ev);
}
if (
['touchend', 'touchcancel'].includes(ev.type) &&
// This action handler by default relies on synthetic click events for