Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Redraw on window focus #2495
@@ Coverage Diff @@ ## master #2495 +/- ## ========================================== - Coverage 80.49% 80.44% -0.05% ========================================== Files 54 54 Lines 4280 4290 +10 ========================================== + Hits 3445 3451 +6 - Misses 835 839 +4
Oct 26, 2018
Fair warning, this fix doesn't work in firefox. You can repro on the c3 website using v63.0.3 and v64.0 (latest stable version). It works if you wrap the redraw around a timeout, which I see you've done, but it needs to be longer than 10ms. Not sure if it varies by application but I had to set it to 75 before it consistently worked.
@jlhedric Thanks for reporting. I confirmed that this happens in firefox (63.0.3 on macOS 10.13), but the rate is very low (like 5-10%). How often do you reproduce the behavior? I think it's ok to add 75 ms delay before redrawing, but if possible I'd like to know the root cause of this. Do you have any idea about it?