Open rdemar333 opened 1 year ago
The alpha filter is not lined up wit the FlatList current location.
<CountryPicker withFilter withAlphaFilter withCountryNameButton onSelect={(selected) => [ setNewField(selected.name), setNewCountryCode(selected.cca2), ]} countryCode={newCountryCode} containerButtonStyle={ newField ? styles.flagSelection : styles.flagSelectionPlaceHolder } placeholder={ <Text style={{ fontSize: 14, color: "gray" }}> {user && user.country} </Text> } />
Dark mode not necessary
Issue Description
The alpha filter is not lined up wit the FlatList current location.
Steps to Reproduce / Code Snippets
<CountryPicker withFilter withAlphaFilter withCountryNameButton onSelect={(selected) => [ setNewField(selected.name), setNewCountryCode(selected.cca2), ]} countryCode={newCountryCode} containerButtonStyle={ newField ? styles.flagSelection : styles.flagSelectionPlaceHolder } placeholder={ <Text style={{ fontSize: 14, color: "gray" }}> {user && user.country} </Text> } />
Expected Results
Dark mode not necessary
Additional Information