Skip to content

[Tabs] A crash on swiping a content item #7459

@vchimev

Description

@vchimev

Environment

  • tns-core-modules modules: 6.0.0-rc-2019-07-03-223248-02

Describe the bug

Swiping a content item of Tabs crashes the application on iOS.

To Reproduce

<Page>
  <Tabs id="tabs">

    <TabStrip>
      <TabStripItem title="TabStripItem 1">
      </TabStripItem>
    </TabStrip>

    <TabContentItem>
        <Label text="TabContentItem 1" />
    </TabContentItem>

  </Tabs>
</Page>

Output

CONSOLE LOG file:///app/bundle.js:62378:16: ### NativeScriptError: TypeError: undefined is not an object (evaluating 'nextItem.__controller')
CONSOLE LOG file:///app/bundle.js:62379:16: ### nativeException: undefined
CONSOLE LOG file:///app/bundle.js:62380:16: ### stackTrace: JS: 1   pageViewControllerViewControllerAfterViewController@file:///app/Users/vchimev/git/NativeScript/tns-core-modules/ui/tabs/tabs.ts:281:49
2   UIApplicationMain@[native code]
3   _start@file:///app/Users/vchimev/git/NativeScript/tns-core-modules/application/application.ts:321:26

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions