Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown hides behind other content #3

Closed
shantanuraj opened this issue Jul 16, 2015 · 5 comments
Closed

Dropdown hides behind other content #3

shantanuraj opened this issue Jul 16, 2015 · 5 comments
Assignees

Comments

@shantanuraj
Copy link

The dropdown will only overlay above its siblings in the parent view, but does not overlay over the siblings of its parent view.

@axelg12
Copy link

axelg12 commented Jul 27, 2015

+1

@axelg12
Copy link

axelg12 commented Jul 28, 2015

Be able to style the Autocomplete and dropdown would be awesome !

@alfondotnet
Copy link

What about this?, having:

<View style={[styles.wrapper, styles.padding]}>
    <Text style={styles.message}>Location</Text>
      <SpotsAutoComplete />
      <View style={[styles.wrapper]}>
        <Text style={[styles.message]}>Max number of friends</Text>
    </View>
</View>
...
var styles = StyleSheet.create({
    wrapper: {      
    flex: 1,
    },
    padding: {
        paddingTop: 64,
    },
    margin: {
        marginTop: 0,
    },
    message: {
         fontSize: 16,
         fontWeight: '500',
    }
})

Produces:

image

Have you found a way to position the dropdown as absolute over below elements so it does not take all the space?

@nulrich nulrich self-assigned this Aug 15, 2015
@nulrich
Copy link
Owner

nulrich commented Aug 15, 2015

Thanks for your messages. I'm in vacation without my Mac. I will take care of this issue when I'm back.

@nulrich nulrich added this to the 0.0.9 milestone Aug 15, 2015
@nulrich nulrich removed this from the 0.0.9 milestone Sep 4, 2015
@nulrich
Copy link
Owner

nulrich commented Sep 4, 2015

@shantanuraj @axelg12 Sorry but this issue is coming from this facebook/react-native#131

I tried to do like @vjeux is explaining (reverse the rendering) and I can the the dropdown over the sibling view.

@nulrich nulrich closed this as completed Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants