I'm directly using LWC component in the Quick Action through flow, once the submit button is called I'm dispatching an event from LWC but aura is not capturing and also Quick action modal is not closing.

Here is the code:


closeModalQuickAction() {
        this.dispatchEvent( new CustomEvent('closeQuickAction'));

Aura :

<aura:component implements ="force:lightningQuickActionWithoutHeader" >
    <c:dynamicInputTable oncloseQuickAction="{!c.closeModal}"/> 

    closeModal : function(component, event, helper) {
        console.log("closing the popup");

this is how I'm doing but nothing is happening

  • At a guess, have you tried onCloseQuickAction instead of oncloseQuickAction?
    – Nick C
    May 11, 2021 at 6:02

1 Answer 1


The issue is that you can't have Capital Letters in event name. Change closeQuickAction to either closequickaction or close_quick_action and it should work, sometimes LWC doesn't show it as error, but it'll never work with capital letters

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .