Automattic / antiscroll

OS X Lion style cross-browser native scrolling on the web that gets out of the way.
1.07k stars 162 forks source link

no scroll bar after content has been appended #15

Open jamcoupe opened 12 years ago

jamcoupe commented 12 years ago

This is a great scrolling plugin! However I have stumbled across a small issue.

Say I am appending content like chat and there isn't quite enough content in the div yet when it reaches the point there is enough content the scroll bar doesn't appear but however the scroll mechanisms are fine! Its just the UI isn't retained.

http://jsfiddle.net/DY9CT/5/

juliangruber commented 11 years ago

that's the tricky part with this technique, you have to use polling or fire events when the content changed