1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 23:55:58 +09:00
This commit is contained in:
syuilo 2017-11-18 08:10:48 +09:00
parent cacf71d341
commit 153aefe0c5

View File

@ -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);