Fire Lancer
Fire Lancer

Reputation: 30145

How is the line/page size for HTML scrollbars determined

I have a div with a vertical scrollbar containing mixed content. Some plain text, images, tables, some other visual markup.

There seems to be a couple of points scrolling down the page where it gets "stuck" in Chrome (also tested Firefox, it seemed slightly slower at that point, but not broken), with the scroll wheel or up/down arrows only moving a couple of pixels at a time. I have no listeners for the scroll events on this page.

How do web browsers decide how fast to scroll at various points when dealing with mixed/complex content?

Upvotes: 1

Views: 50

Answers (1)

Gideon Pyzer
Gideon Pyzer

Reputation: 24068

I suspect this could be a performance issue with the rendering of components. I recommend using the Timeline feature in Chrome Developer Tools to capture the performance information and go from there.

Upvotes: 1

Related Questions