Skip to content

SAMSUNG s6 keyboard without decimal point  #12988

Description

@Rice-M

Description

with SAMSUNG s6 TextInput and keyboardType is numeric the decimal point don't see in the keyboard and this only happen in real device

Reproduction

https://sketch.expo.io/SJtCVpdsg

Additional Information

React Native version: 0.38
Platform: Android SAMSUNG S6
Operating System: MacOS
Dev tools: MacOS

Activity

  1. antoinerousseau commented on Apr 20, 2017

    @antoinerousseau
    Contributor

    I can confirm that my TextInput with keyboardType="numeric" is broken on Samsung Galaxy core prime (Android 5.1.1): the decimal separator is disabled, my users can't input decimal numbers :/

  2. xwartz commented on May 2, 2017

    @xwartz

    I have fund some iPhone devices also have the same issue. The decimal point becomes a comma.

    update:
    I found that when the language was switched to French, the decimal point turned into a comma.

  3. Rice-M commented on May 16, 2017

    @Rice-M
    Author

    @antoinerousseau I change keyboardType="numeric" to default , how did you solve it

  4. antoinerousseau commented on May 16, 2017

    @antoinerousseau
    Contributor

    I didn't solve it yet, any solution around here?

  5. Rice-M commented on May 17, 2017

    @Rice-M
    Author

    Have no idea, but I found that if the phone install other input software, it will be right, so I think maybe it's the SAMSUNG system's bug.

  6. antoinerousseau commented on May 17, 2017

    @antoinerousseau
    Contributor

    Yes my user solved it by installing the Google Keyboard, but it doesn't solve this bug (that could indeed be Samsung's)

  7. hramos commented on Jul 25, 2017

    @hramos
    Contributor

    Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!

    If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

    • Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
    • If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
    • Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

    If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

  8. kallrobin commented on Oct 19, 2017

    @kallrobin

    Hi,
    We have also encountered the same issue, and we fixed it by removing autoCapitalize="none" from the TextInput component. Hope this helps.

  9. antoinerousseau commented on Oct 19, 2017

    @antoinerousseau
    Contributor

    thanks @kallrobin !

  10. yenda commented on Dec 12, 2017

    @yenda

    thanks @kallrobin your solution works on our project too

  11. RituKhetan commented on Jan 7, 2018

    @RituKhetan

    Hi,

    I could see the same error on my HTC device.
    My TextInput component looks like this:
    <TextInput style={styles.input}
    value={this.state.inputValue}
    keyboardType="numeric"
    placeholder = "0.00"
    onChangeText = {text => this.setState({inputValue: text})}/>

    I cannot see the decimal key on the keyboard on my device.

    Can anyone please help?

    [I don't have this property autoCapitalize="none" and I still get this error]

  12. mwaqarshahid commented on Feb 19, 2018

    @mwaqarshahid

    Hi,

    I used following keyboartType to include comma in text area:

    keyboardType="numbers-and-punctuation"

    The result of this is attached.
    https://drive.google.com/file/d/18m7lXhbYwjQypLXA1RLGP2sWPG-ZFaUc/view?usp=sharing

  13. yangga commented on Feb 26, 2018

    @yangga

    @WaqarShahid147

    keyboardType="numbers-and-punctuation" shows unnecessary characters. (actually, what i really want is shows only number + decimal point)
    I should use your solution, cause it looks there is no good way to solve this perfectly.

    thanks, @WaqarShahid147

  14. csumrell commented on Mar 3, 2018

    @csumrell

    I have users who also reported this happening on the RN 0.53, one user said they use a LG V20 and the other a Note 4

  15. aMarCruz commented on Mar 4, 2018

    @aMarCruz

    @kallrobin , inputs with keyboardType="numeric" was showing default keyboard w/ autoFocus in Androids (6 & 7) , your trick solves the issue! :-)

    Thanks!

  16. joshuapinter commented on Jun 20, 2018

    @joshuapinter
    Contributor

    @kallrobin We actually had to add autoCapitalize="none" in order for the decimal option to show up on the real Samsung device keyboard.

  17. vendramini commented on Jul 24, 2018

    @vendramini

    Finally it works here, I'd to add autoCapitalize: 'words' for god knows reason.

    Tablet Samsung Galaxy Tab E SM-T560.
    Android 4.4.4

  18. locked as resolved and limited conversation to collaborators on Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions