Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Refresh method not working as expected #85
I'd suggest changing:
To account for cases where row height hasn't changed but scroll position has (e.g. re-positioned manually by setting el.scrollTop).
Or at least an override argument could be passed in to disable the default short-circuit behavior.
At the end of the day it turns out to be more of a browser compatibility issue than anything. Again - I don't think it unreasonable to include [at minimum] an argument to bypass the short-circuit behavior in the refresh function, therefore allowing a user to actually force a full refresh - regardless of internal state - when desired.
Here's an example which demonstrates the issue in the latest Firefox release (tested on Windows 7):