javascript - How speed up overflow auto -


i have 10000 items on page.

<body> /*10000 items*/ </body>  

all works if items in body (on scroll not lag, because browser's scroll).

but if i'am using <div> css overflow:auto on scroll it's lag.

<div style="overflow:auto; height: 1000px;"> /*10000 items*/ </div>  

why happend , how can resolve problem?


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -