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
Jack123Jack123 

Loading Icon on Tab in Lightning experience

I have one custom button on clicking on that I am opening one VF page which I have rendered as PDF after opening I am seeing Loading Icon and Label on tab.
Anyone know how to reslove this 

User-added image

Thank you in advance
ANUTEJANUTEJ (Salesforce Developers) 
Hi Jack,

So are there any other components or elements that are being rendered or is it only the pdf that is being rendered, if there are any other details can you try checking if the issue still persists if there is only pdf component being displayed in the tab.

Looking forward to your response.

Thanks.
Jack123Jack123

Hi Anutej


Thanks for the reply
No its does not contain any component or anything just simple VF page with some static content and merge fields thats it

Thanks

ANUTEJANUTEJ (Salesforce Developers) 
Can you comment if after some time does the loading value change?
Jack123Jack123
Hi Anutez,

No it does not change it remains the same as you see in screen shot
ANUTEJANUTEJ (Salesforce Developers) 
Hmm, to check further can you provide details and if possible code on how the above implementation was done so as to check in developer org or you can also try checking if this is something happening only in your org to narrow down.
Jack123Jack123
Hi Anutez,

<apex:page standardController="Account" extensions="ControllerName" docType="html-5.0" showheader="false" renderAs="pdf" applyBodyTag="false">
<head>
<style>
  styling content here
</style>
</head>

Page Content

</apex:page>