View already has a parent NativeScript?

Ns + js
Work in nativescript playground.
Copied from here carousel
The carousel is not in the main window. When you run the application and move to the window with the carousel everything works correctly. When you return to the main window and return to the carousel, an error occurs:
March 20th 20 at 11:25
0 answer

Find more questions by tags JavaScript