-
Notifications
You must be signed in to change notification settings - Fork 91
Custom actions don't seem to be working. #671
Copy link
Copy link
Open
Description
I've followed the documentation as best I can, and have confirmed using a listener in a console that my embed in a webframe component is sending custom action messages via
window.parent.postMessage({
action: {
type: 'resize',
}
}, '*');No matter what I do though, I cannot get the action callback on the component to run
action: async (previous, action) => {
console.log("action");
switch (action.action) {
case 'resize':
console.log("resize");
break;
}
return {}
},These snippets in my code are essentially exactly the same as the documentation. Are there any known bugs around this or have I misunderstood custom actions?
And yes, I'm and checking for "console.log()" messages in my terminal that is running the integration locally, not the browser console.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels