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
Sunnel MishraSunnel Mishra 

<lightning:navigation> Navigation issue on first load

Hi Everyone, I am using <lightning:navigation> to navigate from one component to another component. I am using salesforce one app.but when I load app first time it does not navigate. even I could see url is getting change. once I refresh the app it is working fine. Please suggest if anyone had faced this issue in the past or have any idea. thanks in advance.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Sunnel,

Greetings to you!

Please refer to the below link which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/224824/lightning-navigation-does-not-refresh-the-state-of-components-how-to-fix-a-bug

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Sunnel MishraSunnel Mishra
Hi Anas,
thanks, it was a helpful link and issue resolved.
Regards!
Suneel,