Fix bug
This commit is contained in:
parent
cacf71d341
commit
153aefe0c5
|
@ -242,7 +242,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
this.containerTop = this.refs.main.getBoundingClientRect().top;
|
this.containerTop = this.refs.main.getBoundingClientRect().top;
|
||||||
this.headerHight = 48;
|
this.headerHight = this.root.getBoundingClientRect().top;
|
||||||
|
|
||||||
window.addEventListener('scroll', this.followWidgets);
|
window.addEventListener('scroll', this.followWidgets);
|
||||||
window.addEventListener('resize', this.followWidgets);
|
window.addEventListener('resize', this.followWidgets);
|
||||||
|
|
Loading…
Reference in a new issue