PolymerElements / iron-list

Element for a virtual, "infinite" list
https://www.webcomponents.org/element/PolymerElements/iron-list
219 stars 131 forks source link

[2.x] Fix issue where _increasePoolIfNeeded could loop indefinitely. Fixes #559 #563

Open kevinpschaaf opened 5 years ago

kevinpschaaf commented 5 years ago

Ensure the _physicalTop is never recalculated to be below the current scroll position, and make sure cached scroll positions are used in methods which may be called outside of a scroll event handler for internal consistency.