Skip to content
Snippets Groups Projects
Commit f95d975a authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '837-scroll-to-top-when-route-changes-inside-iframe' into 'release-3.0'

Resolve "Scroll to top when route changes inside iframe"

See merge request !1214
parents 8c7ae257 f7596afd
No related branches found
No related tags found
3 merge requests!1237Release 3.0,!1214Resolve "Scroll to top when route changes inside iframe",!1183Release 3.0
Pipeline #122261 failed
......@@ -29,6 +29,7 @@ Fixed
* Setting of page height in the iframe was not working correctly.
* App switched to offline state when the user was logged out/in.
* The `Stop Impersonation` button is not shown due to an oversee when changing the type of the whoAmI query to an object of UserType
* Route changes in the Legacy-Component iframe didn't trigger a scroll to the top
`3.0b3`_ - 2023-03-19
---------------------
......
......@@ -103,6 +103,10 @@ export default {
$route() {
// Show loading animation once route changes
this.$root.contentLoading = true;
// Scroll to top only when route changes to not affect form submits etc.
// A small duration to avoid flashing of the UI
this.$vuetify.goTo(0, { duration: 10 });
},
},
name: "LegacyBaseTemplate",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment