Merge branch 'develop' into feature/CSR-1112
This commit is contained in:
commit
96cb744a7c
2 changed files with 6 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export default {
|
|||
customDropdownId: String,
|
||||
},
|
||||
setup(props) {
|
||||
const dropdownId = !props.customInputId
|
||||
const dropdownId = !props.customDropdownId
|
||||
? `dropdown-${crypto.randomUUID()}`
|
||||
: props.customDropdownId;
|
||||
|
||||
|
|
|
|||
|
|
@ -161,6 +161,11 @@ const routes = [
|
|||
const router = createRouter({
|
||||
history: createWebHistory("/fmg/"),
|
||||
routes,
|
||||
//Cause "page" to begin at the top when route chanages.
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
// always scroll to top
|
||||
return { top: 0 };
|
||||
},
|
||||
});
|
||||
|
||||
//---------------------------------------------------------- Router Functions ----------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue