+ Start a Discussion
M UmerM Umer 

how to hide the lightning component popup on click of a custom button

I have created a aura lightning component and calling it on a quick action of on Contact detail page. There is no UI/Html elements in the component which means only purpose of the component is execute an Apex class. 
Currently all is working fine except a popup is shown when I click the quick action. Please I want this popup gone and quick action should behave seemlessly like other standard buttons.

This is the popup thats coming up:

User-added image

M UmerM Umer
Action setup:

User-added image
Naveen Reddy BeeramNaveen Reddy Beeram
        var dismissActionPanel = $A.get("e.force:closeQuickAction");
This will close the popup immeditely.