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 }}
Repository navigation
IllegalStateException in a tabview scenario with nested frames #6490
Default page of the frame should contain a navigation button to a different page and a tabview component whose tab items contain Frames:
<Pageclass="page"xmlns="http://schemas.nativescript.org/tns.xsd">
<GridLayoutrows="auto, *">
<Buttontext="navigate to second page"tap="onTap" />
<TabViewandroidTabsPosition="bottom"row="1">
<TabViewItemtitle="Home">
<FramedefaultPage="home/home-items-page"></Frame>
</TabViewItem>
<TabViewItemtitle="Browse">
<FramedefaultPage="browse/browse-page"></Frame>
</TabViewItem>
</TabView>
</GridLayout>
</Page>
Navigate to second page (via the button) and navigate back to the tabview page (e.g. via hardware button, doesn't matter really)
The following exception occurs:
System.err: Calling js method finishUpdate failed
System.err:
System.err: Error: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
Activity
test: add test for #6490
test: add test for #6490 (#6517)
lock commentedon Nov 5, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.