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

Country picker closes immediately after pressing on it #483

Open
mstricagnoli-va opened this issue Jul 21, 2022 · 0 comments
Open

Country picker closes immediately after pressing on it #483

mstricagnoli-va opened this issue Jul 21, 2022 · 0 comments

Comments

@mstricagnoli-va
Copy link

mstricagnoli-va commented Jul 21, 2022

Issue Description

I just created a new view and just placed on it, but I noticed when the picker is right at the top of the screen, when you press over the "Select Country" it immediately closes it with no reason and you can't select anything else. But, if I put it on the middle of the screen (or a marginTop of 400) it works just fine. Any clue what is it?

Steps to Reproduce / Code Snippets

Create a screen with only Country picker at the top:

return (
    <View>
      <CountryPicker />
    </View>
  );
};

Expected Results

Country picker opens and I can choose a country

Additional Information

  • Nodejs version: v16.6.1
  • React version: 17.0.1
  • React Native version: 0.64.2
  • react-native-country-picker-modal version: ^2.0.0
  • Platform(s) (iOS, Android, web, or all?): Android
  • TypeScript version: 4.5.4
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

1 participant