Focus problem


After a page is pushed, the focus is not setting on top. In my project, I am using a header component, this component contains an image. I have loaded the component in a login page. after logged in successfully, i am pushing dashboard page. In dashboard page i need to set focus for the image element in the header component .

Please someone help me to solve this issue.