I have a custom feed filter visualforce page created with the help of this link. And then I added the vf page in lightning component with iframe and in case page layout. After the page is loded main-colum scrollbar is scroled to bottom of the page. How to get the scroll bar at top after page loded.



If i run $('.main-col').scrollTop = 2; from browser console scrollbar is moving to top but am not sure whare to use this jQuery.


You must log in to answer this question.

Browse other questions tagged .