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

[wallet] fixed keyboard type #533

Closed
wants to merge 1,395 commits into from
Closed

[wallet] fixed keyboard type #533

wants to merge 1,395 commits into from

Conversation

hunght
Copy link
Contributor

@hunght hunght commented Sep 28, 2018

Changes

  • Fixed keyboards for numbers are still alphanumeric, they should be numeric keypads.
    screen shot 2018-09-28 at 6 44 42 pm

  • Keyboard for password or passcode should have a check mark for “submit” (like the Android PIN keypad for unlocking the phone).

screen shot 2018-09-28 at 12 22 16 am

** Not fix- pending issues
-- after sending money, the wallet does show the same amount as before. Perhaps it does not update until the transaction clears? It should be immediately reduced, and if the transaction fails, restore the failed amount.

  • problem: we cannot detect when the account balance will be updated. So, for now, I just leave it as the way it is.

Issue #519

prameetc and others added 30 commits August 28, 2018 00:19
albertoestarrona and others added 21 commits September 13, 2018 09:35
[documents] Added Confirm Alert while deleting document
[documents] Fixed Close Menu Modal Bug
@albertoestarrona
Copy link
Contributor

Did you test this on different versions of the OS? Because sometimes the keyboard appearance changes depending the OS version with unexpected results in RN

@hunght
Copy link
Contributor Author

hunght commented Sep 28, 2018

@albertoestarrona yes, look like we have this issue facebook/react-native#17473, but I don't have HTC or Samsung device to test on. This issue will be fixed with the last version of react-native as in the post says. So, I think we could update version of RN later to fix this.

@@ -167,7 +167,7 @@ class SendMoney extends NavigatorComponent<Props, State> {
placeholderTextColor={Colors.placeholderTextColor}
onChangeText={amountString => this.setState({ amountString })}
value={this.state.amountString}
keyboardType='decimal-pad'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you specified on PR description:
Fixed keyboards for numbers are still alphanumeric, they should be numeric keypads.
Does it mean that decimal-pad set before produce alphanumeric keyboard? I believe we have changed it from numeric to decimal-pad intentionally so that it works consistent between iOS and Android. So, can you please specify a bit more, what exactly are you trying to fix (screenshot of previous incorrect behavior would be great).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seland I think this PR need to be postponed because I have fixed it on the android keyboard, before the fix it will be the alphanumeric keyboard as you see in the photo below. But because of the issue facebook/react-native#17473, I'm not potential it could fix for all android devices. So we need more research and testing on this case
screen shot 2018-10-31 at 8 06 06 pm

@marknuzz
Copy link
Contributor

Closed due to necessary rewrite of the history, to remove the abomination which was the stored 100 MB binary (which was also frequently changing). Please re-open the PR. Sorry for the inconvenience.

@marknuzz marknuzz closed this Nov 14, 2018
@marknuzz marknuzz deleted the fix/send-money-519 branch November 14, 2018 08:07
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

Successfully merging this pull request may close these issues.

7 participants