-
Notifications
You must be signed in to change notification settings - Fork 38
Home Page Stats counter broken. #43
Comments
Can't reproduce - I think this might have been an issue during the deployment. Are you still seeing this? |
Yes the issue is still present. I am attaching a link to video reproducing the bug. |
Yeah you will only see it once the browser window is smaller than the height between the top of the counters and the top of the browser window - effectively running this counter each time you scroll from top to bottom. There is a javascript function within : https://github.com/dotnet/dotnetfoundation-website/blob/master/src/wwwroot/js/home.js between lines 5-25 to determine this range and will initiate the counter animation. |
The issue is, each time I scroll down from the top the range of counter keeps decreasing. |
Looks like this is a known issue with the jQuery plugin, a fix is to store the initial value: bfintal/Counter-Up#57 (comment) |
The stats counter values keep decreasing each time you scroll up and scroll down again.
The text was updated successfully, but these errors were encountered: