feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
914 stars 386 forks source link

GroupedList: sticky header disappears too early when scrolling up if paddingTop > 0 #1719

Closed subdan closed 6 years ago

subdan commented 6 years ago

I have a GroupedList with custom layout:

var listLayout:VerticalLayout = new VerticalLayout();
listLayout.horizontalAlign = HorizontalAlign.JUSTIFY;
listLayout.paddingTop = listLayout.paddingBottom = 20;
listLayout.hasVariableItemDimensions = true;
listLayout.gap = 20;
listLayout.stickyHeader = true;
list.layout = listLayout;

When I scroll the List Header Renderer dissapears before it will be outside the screen.

joshtynjala commented 6 years ago

Confirmed. Thanks!