html component input focus causes scroll to top of page

I have a html component in which I am displaying input fields. On the mobile version, when you select an input field, the scroll jumps to the top of page away from the input field that you have selected. Is there any way to prevent this? thanks --RS