We can control scroll position of IFrame if the source of IFrame is from same domain. We can get reference of element using ref. Observe below program
Note : This program won't work for cross domains for security reasons.
To Run Example Code
execute below commands
now open index.html in browser
Observe below program. we can use contentWindow.scrollTo to scroll IFrame