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

The loading never disappears #499

Open
dennis-hernandez-driscolls opened this issue Jan 5, 2023 · 0 comments
Open

The loading never disappears #499

dennis-hernandez-driscolls opened this issue Jan 5, 2023 · 0 comments

Comments

@dennis-hernandez-driscolls

Issue Description

Whe the picker is presented in the ui the loading is displayed but it never disappears , it's like the connections is broken but I use wifi and mobile connection and nothing

Steps to Reproduce / Code Snippets

<CountryPicker
{...{
countryCode,
callingCode,
withAlphaFilter,
withCallingCode,
withCurrency,
withEmoji,
withCountryNameButton,
withCurrencyButton,
withCallingCodeButton,
withFlagButton,
withCloseButton,
withFilter,
withFlag,
withModal,
visible,
}}
containerButtonStyle={styles.countryPickerContainer}
onSelect={onCountryPickerSelect}
/>

const [countryCode, setCountryCode] = useState('US');
const [callingCode, setCallingCode] = useState('+1');
const withAlphaFilter: boolean = true;
const withCallingCode: boolean = true;
const withCurrency: boolean = false;
const withEmoji: boolean = false;
const withCountryNameButton: boolean = false;
const withCurrencyButton: boolean = false;
const withCallingCodeButton: boolean = true;
const withFlagButton: boolean = true;
const withCloseButton: boolean = true;
const withFilter: boolean = true;
const withFlag: boolean = true;
const withModal: boolean = true;
const visible: boolean = false;

export const styles = StyleSheet.create({

countryPickerContainer: {
    alignItems: 'center',
    justifyContent: 'center',
    borderColor: Colors.dividerGray,
    borderWidth: 1,
    borderRadius: 4,
    paddingHorizontal: 12,
    height: 52,
    marginTop: 5,
},   

});

Expected Results

Select the country from the list

Additional Information

  • Nodejs version: V18.12.1
  • React version: 18.1.0
  • React Native version: 0.70.5
  • react-native-country-picker-modal version: 2.0.0
  • Platform(s) (iOS, Android, web, or all?): all
  • TypeScript version:4.9.4
    Deploying from MacBook Pro Ventura 13.1 Apple M2
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