Nativebase: [Android] Under TabBar , horizontal List not working

Created on 12 Sep 2017  路  4Comments  路  Source: GeekyAnts/NativeBase

this issue only for android it's working for iOS

<Container>
        <Header hasTabs/>
        <Tabs>
          <Tab heading={ <TabHeading><Icon name="camera" /><Text>Camera</Text></TabHeading>}>
                            <List dataArray={ItemList} horizontal={true}
                      renderRow={(item) =>
                          < HorizontalCell  data={item} >
                      }>
                </List>
          </Tab>
          <Tab heading={ <TabHeading><Text>No Icon</Text></TabHeading>}>
            <Tab2 />
          </Tab>
          <Tab heading={ <TabHeading><Icon name="apps" /></TabHeading>}>
            <Tab3 />
          </Tab>
        </Tabs>
      </Container>

screen shot 2017-09-12 at 10 58 01 am

red boxes are horizontal cells when I try to move its goes to 2nd tab
for iOS it's worked

Most helpful comment

@sachithamadhupa Better way/the correct way would be through pointer events.

All 4 comments

@sachithamadhupa You can either lock the Tabs swipe using locked prop in Tabs or check with pointer-events/touches for both the scrollable contents i.e, cells and Tabs

yep it's working but, it's better to fix in a good way, @shivrajkumar k thanx for your answer

@sachithamadhupa Better way/the correct way would be through pointer events.

yep thanks @shivrajkumar :) 馃挴

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elnygren picture elnygren  路  3Comments

mcpracht picture mcpracht  路  3Comments

georgemickael-b picture georgemickael-b  路  3Comments

nschurmann picture nschurmann  路  3Comments

aloifolia picture aloifolia  路  3Comments