First of all, thank you for your interest in UI for NativeScript.
I reviewed the below-attached code and tested on my side, however, was unable to reproduce this error.
For your convenience, I am attaching the sample project, which I used for testing.
Regarding that, could you provide some more info about your environment(NativeScript CLI
versions)? It would also help if you could also send us sample project, where the problem could be reproduced.
Telerik by Progress