You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scroll back to the top of the rendered page and uncheck "Tall version". This makes every item about half as tall.
Then scroll down more than halfway and notice that (1) not all 1000 items can be seen, and (2) the scroll region is not filled with items in every case.
Any chance you would know how to fix?
The text was updated successfully, but these errors were encountered:
szalapski
changed the title
A dynamic change in the height of scrolled items needs tweaks to display correctly.
A dynamic change in the height of scrolled items results in many items not displayed
Nov 30, 2017
I tried calling $rootScope.$broadcast('vsRepeatTrigger'); when I changed the size of the elements--as a workaround--but it had no effect; I still see the same symptom.
Seeing the same thing, broadcasting vsRepeatTrigger doesn't appear to do anything.
I have a row that is either 80 or 130 pixels fixed based on if a certain mode is turned on. broadcasting vsRepeatTrigger after that switch toggles the boolean under the hood still throws size warnings despite size being set to the view model binding expression.
I was able to resolve this by messaging the toggle via rootScope (its elsewhere in the component composition) and then in the specific component that was home to vs-repeat in the template:
See example here: https://codepen.io/szalapski/pen/RjErZV
Steps to reproduce:
Then scroll down more than halfway and notice that (1) not all 1000 items can be seen, and (2) the scroll region is not filled with items in every case.
Any chance you would know how to fix?
The text was updated successfully, but these errors were encountered: