Garmaine Staff asked 2 years ago

I made a button which when clicked scrolls down users web client for 850px.It works as expected on Chrome and Firefox,scroll time is linear and identical.However on Edge it starts with the same pace and then after aprox. 200px drastically slows down scrolling animation. Here is the code:

 function scrollslowly(){
 var i=0;
 var x=setInterval(scrolldown,1);
 function scrolldown(){