Open bsansone opened 4 years ago
@bsansone I have the same problem of the deformation of the UI elements, try to call resfresh method of radListView. It didn't work for me, maybe my row has many elements, I don't know :(
Another problem that I have on iOS is with loadOnDemandMode="Auto", when I get to the end of the items list (when the backend response a empty array of elements), the loadOnDemand callback it gets stuck running infinite times.
This is my loadMoreItemsRequested callback:
async onLoadMoreItemsRequested(args) { let deactivate = false; try { deactivate = await this.requestMovements(this.lastPageRequested + 1); //Updates the store and return true when there are no more items to retrieve. if (deactivate) { this.showToast('No tienes más movimientos'); } } finally { args.returnValue = !deactivate; args.object.notifyAppendItemsOnDemandFinished(deactivate); args.object.refresh(); } },
Don't you have this problem?
I fixed the problem adding iosOverflowSafeArea="false". In your code:
<GridLayout height="26" columns="26,26,26,26"
iosOverflowSafeArea="false">
<Image col="0" src="~/heart-filled.png"
height="26" width="26" />
<Image col="1" src="~/heart-filled.png"
height="26" width="26" />
<Image col="2" src="~/heart-filled.png"
height="26" width="26" />
<Image col="3" src="~/heart-filled.png"
height="26" width="26" />
</GridLayout>
Tell us about the problem
On iOS after new data is added from the auto load on demand function, the images that were aligned previously are aligned incorrectly.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
https://play.nativescript.org/?template=play-vue&id=LkmdZs