landing sticky header fix

pull/3455/head
Tuğçe Küçükoğlu 2022-12-28 10:34:30 +03:00
parent 66668701f8
commit 8c636ee305
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ export default {
}, },
scrollListener: null, scrollListener: null,
container: null, container: null,
mounted() {
this.bindScrollListener();
},
beforeUnmount() { beforeUnmount() {
if (this.scrollListener) { if (this.scrollListener) {
this.unbindScrollListener(); this.unbindScrollListener();