NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Include Header Dropdown example, also include example in KitchenSink

Open Jasbir23 opened this issue 9 years ago • 3 comments

Also include in docs for header

Jasbir23 avatar May 29 '17 10:05 Jasbir23

+1

BrunoQuaresma avatar Jun 09 '17 16:06 BrunoQuaresma

Not doing this as of now Hence closing it

SupriyaKalghatgi avatar Jan 31 '18 11:01 SupriyaKalghatgi

on another tricky way is to implement with absolute and zindex props the popup menu in Android and Ios is different !!

<Button transparent>
                                  <View style={{}}>
                                      <Icon name="more-vert" style={{
                                        zIndex:-999 ,
                                        position:'absolute',
                                        right:0,
                                        top:0,

                                      }}/>
                                      <Picker
                                        style={{
                                          zIndex:999,
                                          position:'absolute',
                                          //right:0,
                                          top:-35,
                                          backgroundColor:'transparent',
                                        }}
                                        onValueChange={()=>{}}
                                        mode="dropdown">

                                        <Item label="Wallet" value="key0" />
                                        <Item label="ATM Card" value="key1" />
                                      </Picker>
                                  </View>  
                </Button> 

kapture 2018-03-07 at 11 22 12

arash-hacker avatar Mar 07 '18 08:03 arash-hacker