{"action":"created","issue":{"url":"https://api.github.com/repos/zbtang/React-Native-ViewPager/issues/113","repository_url":"https://api.github.com/repos/zbtang/React-Native-ViewPager","labels_url":"https://api.github.com/repos/zbtang/React-Native-ViewPager/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/zbtang/React-Native-ViewPager/issues/113/comments","events_url":"https://api.github.com/repos/zbtang/React-Native-ViewPager/issues/113/events","html_url":"https://github.com/zbtang/React-Native-ViewPager/issues/113","id":290242353,"number":113,"title":"ViewPager Inside ViewPager","user":{"login":"c0d3blooded","id":8219641,"avatar_url":"https://avatars3.githubusercontent.com/u/8219641?v=4","gravatar_id":"","url":"https://api.github.com/users/c0d3blooded","html_url":"https://github.com/c0d3blooded","followers_url":"https://api.github.com/users/c0d3blooded/followers","following_url":"https://api.github.com/users/c0d3blooded/following{/other_user}","gists_url":"https://api.github.com/users/c0d3blooded/gists{/gist_id}","starred_url":"https://api.github.com/users/c0d3blooded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0d3blooded/subscriptions","organizations_url":"https://api.github.com/users/c0d3blooded/orgs","repos_url":"https://api.github.com/users/c0d3blooded/repos","events_url":"https://api.github.com/users/c0d3blooded/events{/privacy}","received_events_url":"https://api.github.com/users/c0d3blooded/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-21T02:53:18Z","updated_at":"2018-04-20T08:14:44Z","closed_at":"2018-01-25T03:50:03Z","author_association":"NONE","body":"Hi,\r\n\r\nThank you for this fantastic library. It's been very handy so far. Unfortunately, I've run into an issue with nested ViewPagers. A ViewPager inside another ViewPager has the indicators show up ok but the inner ViewPager's views aren't visible. \r\n\r\nI've tried a number of different flex and height values on the different elements and sections with no luck.\r\n\r\nFor more context, I'm using RN version 0.51.0 along with a tab based app in react-native-navigation. Here's an example:\r\n\r\n```\r\n            <View style={{flex :1}}>\r\n                <Text>Header</Text>\r\n                <IndicatorViewPager\r\n                    style={{flex :1, flexDirection: 'column-reverse'}}\r\n                    indicator={<PagerTitleIndicator\r\n                        titles={['Tab 1', 'Tab 2']}\r\n                        itemStyle={{width:windowWidth/2}}\r\n                        selectedItemStyle={{width:windowWidth/2}}\r\n                    />}\r\n                >\r\n                    <View>\r\n                        <IndicatorViewPager\r\n                            style={{flex :1, flexDirection: 'column-reverse'}}\r\n                            indicator={<PagerTitleIndicator\r\n                                titles={['Tab 3', 'Tab 4']}\r\n                                itemStyle={{width:windowWidth/2}}\r\n                                selectedItemStyle={{width:windowWidth/2}}\r\n                            />}\r\n                        >\r\n                            <View style={{backgroundColor: '#a1a1a1'}}>\r\n                                <Text>View Inner 1</Text>\r\n                            </View>\r\n                            <View style={{backgroundColor: '#a1a1a1'}}>\r\n                                <Text>View Inner 2</Text>\r\n                            </View>\r\n                        </IndicatorViewPager>\r\n                    </View>\r\n                    <View style={{backgroundColor: '#ffffff'}}>\r\n                        <Text>View 2</Text>\r\n                    </View>\r\n                </IndicatorViewPager>\r\n            </View>\r\n```\r\n\r\nEDIT: I've also noticed that this is only an issue on Android. It looks like iOS works ok."},"comment":{"url":"https://api.github.com/repos/zbtang/React-Native-ViewPager/issues/comments/383020210","html_url":"https://github.com/zbtang/React-Native-ViewPager/issues/113#issuecomment-383020210","issue_url":"https://api.github.com/repos/zbtang/React-Native-ViewPager/issues/113","id":383020210,"user":{"login":"MSchmidt","id":38004,"avatar_url":"https://avatars2.githubusercontent.com/u/38004?v=4","gravatar_id":"","url":"https://api.github.com/users/MSchmidt","html_url":"https://github.com/MSchmidt","followers_url":"https://api.github.com/users/MSchmidt/followers","following_url":"https://api.github.com/users/MSchmidt/following{/other_user}","gists_url":"https://api.github.com/users/MSchmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/MSchmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSchmidt/subscriptions","organizations_url":"https://api.github.com/users/MSchmidt/orgs","repos_url":"https://api.github.com/users/MSchmidt/repos","events_url":"https://api.github.com/users/MSchmidt/events{/privacy}","received_events_url":"https://api.github.com/users/MSchmidt/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T08:14:44Z","updated_at":"2018-04-20T08:14:44Z","author_association":"NONE","body":"Where do you set `forceScrollView=true`?"}}
{"actor":{"display_login":"MSchmidt"}}