We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9389469 commit 7d694efCopy full SHA for 7d694ef
1 file changed
_layouts/splash.html
@@ -81,8 +81,14 @@
81
const h = Math.max(minHeight, curHeight - currentScrollY);
82
dynamicDiv.style.height = h + 'px';
83
curHeight = h;
84
- // Force recompute of height:
+ console.log({
85
+ intended: h,
86
+ inline: dynamicDiv.style.height,
87
+ computed: getComputedStyle(dynamicDiv).height,
88
+ offset: dynamicDiv.offsetHeight
89
+ });
90
window.scrollTo(currentScrollX, 0);
91
+ // Force recompute of height:
92
const dummy_h = dynamicDiv.style.height;
93
const opac = (h - vanishHeight) / (maxHeight - vanishHeight);
94
splashTxt.forEach((el) => {
0 commit comments