Q-Stepper not scrolling to the top when going forward/back
Good evening. I’ve a small “problem” with the q-stepper. As the topic title says the q-stepper is not scrolling back to the top when clicking the continue or back buttons. Users have to manually scroll to the stop when changing steps. I’ve looked everywhere but couldn’t find an answer. Anyone has a tip on how to achieve this?
Thank you very much
metalsadman last edited by
Can you give me sample on qstepper when i go next then it automatically scroll up. Im using a dialog on a stepper not a page. Hope you understand and give me sample. Thanks!
var element = document.getElementById("top"); const target = getScrollTarget(element); const offset = element.offsetTop; const duration = 1000; this.$refs.stepper.next(); setScrollPosition(target, offset, duration); console.log("next"); console.log(target) },
not working. :’(