You can pass an `options` object, which only has a single property, to the `focus()` method to prevent scrolling on focus. posted on 24.01.2019