aksonov / aksonov/react-native-tabs

Doesn't work with Navigator

Đang mở
#52 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
727
Fork
112
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

It seems not to work with navigator as tab item.

```
getTabView() {
switch (this.state.page) {
case 'Home':
return
break;
case 'Drafts':
return
break;
case 'Tasks':
return
break;
}
}

render() {
return (

{this.getTabView()}



Home



Drafts



Tasks



);
}
```

In this if I change my view as any other view instead of HomeNavigator, it works perfectly. But not with a navigator component which is original navigator. However the same HomeNavigator works well if not inside tabs.

Can anyone help please?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.