-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Description
Ionic version: (check one with "x")
[] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request
Current behavior:
The sticky property in an ion-item-divider doesn't work if it is inside an ion-list with [virtualScroll]. If works fine if it lives inside a plain ion-list component (like in the schedule page in ionic-conference-app)
Expected behavior:
The sticky property in an ion-item-divider should behave the same regardless if it lives inside a plain ion-list or an ion-list with [virtualScroll]
Steps to reproduce:
Take for example the code from the official documentation and add the sticky property to the ion-item-divider as shown below. The divider won't stick in iOS device
<ion-list [virtualScroll]="items" [headerFn]="myHeaderFn">
<ion-item-divider sticky *virtualHeader="let header">
Header: {{ header }}
</ion-item-divider>
<ion-item *virtualItem="let item">
Item: {{ item }}
</ion-item>
</ion-list>
Ionic info:
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.7.0
Xcode version: Not installed
ChristopherTotty, MartijnWelker and xe4me
Metadata
Metadata
Assignees
Labels
No labels