function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Neethu uNeethu u 

I have created a lightning quick action which redirects to visualforce page. But just before redirecting to visual force page the modal pop up is coming

I have used
var dismissActionPanel = $A.get("e.force:closeQuickAction");
    dismissActionPanel.fire();

But again the pop up is coming for few seconds.
How to disable the popup so that it will not show up.
Deepali KulshresthaDeepali Kulshrestha
Hi Neethu,

There is no way to disable the modal/popup in the lightning-quick action.
It takes atleast 3-4 seconds to disable it using the following code :

var dismissActionPanel = $A.get("e.force:closeQuickAction");
dismissActionPanel.fire();

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha