« first day (4229 days earlier)      last day (710 days later) » 

7:22 PM
Have this weird bug in my code. I set dataset for an element el.dataset.show = v; and have CSS that hide a child of that element if v == 0. So far so good. Issue is that frequently when toggle the visibility the page scrolls way way down. Any idea how to figure out what is going on?
window.pageYOffset: before I set it to hidden = 57955 after it jumps to 102545
Guess it is an issue with the DOM re-flow / CSS when it is hidden.
All elments that are hidden is about 700 px in height (uni-size), the jump is usually about 38500 (when testing on one specific element)
 
 
1 hour later…
8:54 PM
How one writes math formulas for website that seems to render correctly for mobile devices? I tried the following in Mathjax: (P(x)+Q(x)=a_nx^n+a_{n+1}x^{n-1}+\cdots+a_1x+a_0+b_mx^m+b_{m-1}x^{m-1}+\cdots+b_0=b_mx^m+b_{m-1}x^{m-1}+\cdots+b_{n+1}x^{n+1}+(a_n+b_n)x^n+\cdots+a_0+b_0) but that won't fit on the screen in Firefox's mobile view.
 

« first day (4229 days earlier)      last day (710 days later) »