PolymerElements / iron-list

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

Incomplete list in FF and odd scrolling #536

Open moodyjmz opened 6 years ago

moodyjmz commented 6 years ago

Description

Using 500k items to display in list.

Expected outcome

The items display and are scrollable

Actual outcome

In IE11 and FF (60 & 62) the list is not as expected.

FF ends the list at 470940

IE11 doesn't calculate the scroll region correctly at all, but does render the items - ie ironList.scrollToIndex(499999) works

Live Demo

https://codepen.io/anon/pen/NzEvwY

1) a: open in Chrome b: scroll list, it will behave as expected and 500,000 items can be seen (there are some small jitters if you go crazy on the scrolling)

2) a: open in FF b: attempt the same and the list will not render past 470,940 and become blank c: if you repeatedly scroll the list, FF will jank and eventually crash the page

3) a: open in IE11 b: try to scroll and the scroll will not let you

Browsers Affected

gregorymachon commented 6 years ago

+1

ronny1982 commented 5 years ago

Also have problems in Chrome ith the provided demo. When dragging the scrollbar a blank gap starts to grow on the top or bottom (depending if you start to drag the scroll slider from the beginning or the end) and increases the more it is scrolled until all items disappear.

image