View already has a parent NativeScript?

Ns + js
Work in nativescript playground.
Copied from here carousel https://play.nativescript.org/?template=play-js&id...
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:
NNykeFnRWbU.jpg
March 20th 20 at 11:25
0 answer

Find more questions by tags JavaScript