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

React Native Amplify UI: Phone Number Country Code is forced to be a Picker #217

Closed
kingstonfung opened this issue Jan 30, 2019 · 5 comments
Labels
Authenticator An issue or a feature-request for an Authenticator UI Component feature-request Request a new feature React Native An issue or a feature-request for React Native platform

Comments

@kingstonfung
Copy link

Describe the bug
Country Code input is forced to be a Picker UI control.

To Reproduce
Steps to reproduce the behavior:

  1. Implement a simple <Authenticator> component on the application
  2. Compile and run the app
  3. Go to the Sign Up section of the form
  4. Observe the awkwardly rendered input element for setting a country code.
  5. Repeat running the app on the other mobile platform and you should see it is also behaving the same (iOS & Android)
<Authenticator>
  <SignIn />
  <SignUp />
  <ForgotPassword />
  <ConfirmSignUp />
</Authenticator>

Expected behavior
Would be ideal if the entire phone number is a numeric input textfield, resulting in a less disruptive UX.

Screenshots
screen shot 2019-01-30 at 11 38 44 am
screen shot 2019-01-30 at 12 00 20 pm

Smartphone (please complete the following information):

  • Device: iPhone 8 / Google Pixel 2
  • OS: iOS 11.4 / Android OS 8.0.0

Additional context
React Native: 0.57.4
aws-amplify: 1.1.19
aws-amplify-react-native: 2.1.7

@jordanranz
Copy link

FYI, we have started an RFC discussion for a proposed Amplify UI Component refactor to increase customizability and flexibility for our components. Please feel free to add any additional comments to the following issue:

aws-amplify/amplify-js#3279

@kingstonfung
Copy link
Author

Thank you !

@mehdirazajaffri
Copy link

mehdirazajaffri commented Apr 6, 2021

I am unable to interact with the country code, it doesn't open any picker. using following versions:

"aws-amplify": "^3.3.26",
"aws-amplify-react-native": "^4.3.2",
"react": "17.0.1",
"react-native": "0.64.0"

using HOC
import {withAuthenticator} from 'aws-amplify-react-native';
export default withAuthenticator(App);

@ayhoung
Copy link

ayhoung commented Apr 19, 2021

same issue as @mehdirazajaffri
Screen Shot 2021-04-19 at 7 18 36 PM

Here you see that it's just +1 and not interactable

@ErikCH ErikCH transferred this issue from aws-amplify/amplify-js Aug 25, 2021
@ErikCH ErikCH added feature-request Request a new feature React Native An issue or a feature-request for React Native platform labels Aug 25, 2021
@Milan-Shah Milan-Shah added pending-triage Issue is pending triage Authenticator An issue or a feature-request for an Authenticator UI Component labels Nov 23, 2021
@Milan-Shah
Copy link
Contributor

We have released a newer version of Authenticator on our new UI doc site. It has many new features that include custom styling, social sign in support, password manager support, zero config, multi-sign up attributes, i18n support etc.

We have started the implementation for React Native platform and will provide an update here once launched.

@reesscot reesscot removed the pending-triage Issue is pending triage label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Authenticator An issue or a feature-request for an Authenticator UI Component feature-request Request a new feature React Native An issue or a feature-request for React Native platform
Projects
None yet
Development

No branches or pull requests

7 participants