You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hei, is there any way to dismiss the country modal using the Android back button?
`
import { View } from "react-native";
import { useState } from "react";
import PhoneInput from "react-native-international-phone-number";
Exact the same problem here! Expo SDK 52 with react-native-international-phone-number v04.15. My application is blank yet, so, just create a new expo app com this dependency.
Hei, is there any way to dismiss the country modal using the Android back button?
`
import { View } from "react-native";
import { useState } from "react";
import PhoneInput from "react-native-international-phone-number";
export const Something = () => {
const [phoneInputValue, setPhoneInputValue] = useState("");
const handlePhoneInputValue = (phoneNumber) => {
setPhoneInputValue(phoneNumber);
};
const [selectedCountry, setSelectedCountry] = useState(null);
const handleSelectedCountry = (country) => {
setSelectedCountry(country);
};
return (
<View
style={{
paddingTop: 5,
paddingBottom: 5,
}}
>
<PhoneInput
language="en"
popularCountries={[
"NL",
"GB",
"US",
"ZA",
"CA",
"AU",
"DE",
"BE",
"FR",
"ES",
"IT",
"PT",
"NZ",
]}
popularCountriesSectionTitle="Suggested"
restOfCountriesSectionTitle="All"
value={phoneInputValue}
onChangePhoneNumber={handlePhoneInputValue}
selectedCountry={selectedCountry}
onChangeSelectedCountry={handleSelectedCountry}
/>
)
}
`
The text was updated successfully, but these errors were encountered: