Merge pull request #1383 from Safelite/BRM-fix-scrollTo-in-menu-modal

Fix scrollToTop for menu-modal.
This commit is contained in:
bmauger 2023-10-06 16:14:06 -04:00 committed by GitHub
commit 576555f0dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ export default {
},
show() {
this.isActive = true;
this.scrollToPageTop();
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
},
hide() {
var self = this;