I have a table full of inputs and there are times when I want to set the focus to a specific input but if the table is large enough or the window is small enough, the input may be scrolled out of view. I know I can do inputElement.focus() to put the input cursor in the element but can I determine if the element is in the view and force the window to scroll so that it is?