views:

20

answers:

0

I have a page using JQuery and I've implemented infinite scrolling on a div. There is a text area on the page. I've noticed that as more rows get added to a table in the scrollable div performance of the page gets worse. You can really tell when the page size is large and you try to type anything in the text area because there is a large lag between the time text is typed into the textarea and the time that you actually see the text appear. This only happens in IE8. I haven't tried other IE versions. It doesn't happen in Firefox. It is really fast in Firefox.

I've used a tool to check what IE was doing and it is spending most of the time doing generic rendering of the page for each key stroke even though nothing new is being added to the page.

Why is the page rendering so often and slowly in IE8 and is there a way to improve this?