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
{{ message }}
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
See if the demo setup helps, it works on both platforms. I know people use it in angular apps and Vue without issue, but sometimes the iOS layout needs a small tweak because of the native APIs being used. Which I ran into this myself because Android works with just about anything you throw at it, not so much for iOS 😄 let me know if the demo helps.
Well cool. It definitely works. I was able to run the demo and it works in iOS. Which is great.
In my project, however, if I pull out the reusable ListView from the child component (app-component-with-list), PullToRefresh definitely works... but then I lose the reusability of the component which makes it, well, less Angular. :)
This works in iOS:
<PullToRefresh (refresh)="refreshList($event)" class="refresh-pull">
<ListView [items]="stuffItems">
<ng-template *ngIf="condition">
<StackLayout>
(Stuff for the list)
</StackLayout>
</ng-template>
</ListView>
</PullToRefresh>
I don't think it makes a difference here but I'm using Angular 5 (html instead of xml, etc). I'll keep playing with this. If I find a solution I'll post it here.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following is pseudo-code of what the angular 5 looks like.
Pull to refresh currently works with this setup in android but not ios.
The following error occurs:
The top component has the following code:
Inside of
app-component-with-list
:The text was updated successfully, but these errors were encountered: