searchConfig
Options
scrollUpOnRefresh
The default value of scrollUpOnRefresh
is true
. When enabled this option scroll the page to it’s top when page is refreshed.
add the value manually:
const hawkConfig = { ... searchConfig : { scrollUpOnRefresh: false }, ... }; var widget = HawksearchVue.createWidget(component, { config: config}); HawksearchVue.initialSearch(widget);