Closed puradox closed 6 years ago
I think thats the numeric keyboard for ipads. On the phone it shows only numbers but I with an iPad its difficult to have an UI with just numbers. Can someone confirm this?
Yep, as @jayeszee mentioned this is the default behavior on iPad because apparently, it's "Hard" to have a UI with just numbers on iPad.
Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?
I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a temporary error. The following address(es) deferred:
mkdirenv@gmail.com Domain salmanwaheed.info has exceeded the max emails per hour (161/150 (107%)) allowed. Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext3.iad.github.net ([192.30.252.194]:43643 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by box1177.bluehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from noreply@github.com)
id 1epQUu-003Iys-0q
for hello@salmanwaheed.info; Fri, 23 Feb 2018 20:27:40 -0700
Date: Fri, 23 Feb 2018 19:22:21 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1519442846;
bh=FTJL8LNlb3O1bW0mYfEWBpMdf5oJT0vQZixvrpeqUBE=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=CdzYYgnX+KOhRkF71CLBQg7Oyy4T/tWmtM7f9PC51qDUlyeDCpQ4vEExCmj2tXInV
Mw5hLsF1ozyZybCgr+Tfp1Lk2R5S5N4Nq3vkpkr1Y1cgipl0XrxJzKfc6Pwc5Pw0RS
gJlU8XPa42Z80z9VhQrglQCjHVGwyaXHoP7cSpRs=
From: React Native Bot notifications@github.com
Reply-To: facebook/react-native reply@reply.github.com
To: facebook/react-native react-native@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Message-ID: facebook/react-native/issue/17793/issue_event/1490267458@github.com
In-Reply-To: facebook/react-native/issues/17793@github.com
References: facebook/react-native/issues/17793@github.com
Subject: Re: [facebook/react-native] [TextInput][iPad] Numeric keyboard type
not working (#17793)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a90da6d87930_42ec2b190881cecc4345db";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: react-native-bot
X-GitHub-Recipient: salmanwaheed
X-GitHub-Reason: subscribed
List-ID: facebook/react-native
Content preview: Closed #17793. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/facebook/react-native/issues/17793#event-1490267458 [...]
Content analysis details: (0.8 points, 5.0 required)
pts rule name description
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.com] -0.5 SPF_PASS SPF: sender matches SPF record 1.3 HTML_IMAGE_ONLY_24 BODY: HTML: images with 2000-2400 bytes of words 0.0 HTML_MESSAGE BODY: HTML included in message 2.5 DCC_CHECK No description available. -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -2.3 AWL AWL: Adjusted score from AWL reputation of From: address X-Spam-Flag: NO
----==_mimepart_5a90da6d87930_42ec2b190881cecc4345db Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit
Closed #17793.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/facebook/react-native/issues/17793#event-1490267458 ----==_mimepart_5a90da6d87930_42ec2b190881cecc4345db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Closed #17793.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
----==_mimepart_5a90da6d87930_42ec2b190881cecc4345db--
@gedeagas , this bug is present in Android for RN 0.53.3
EDIT: ~Solved by setting autoCapitalize="none" See https://github.com/facebook/react-native/issues/12988#issuecomment-337879933~ NOT WORKING, kwyboard is resetting to default
I'm using react native 0.55.2 and I still have this problem in IPad
I'm using 0.56.0. Same problem. Think it's an iOS related. https://stackoverflow.com/questions/27409483/number-keyboard-in-ipad
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment: OS: macOS High Sierra 10.13.2 Node: 9.3.0 Yarn: 1.3.2 npm: 5.5.1 Watchman: 4.9.0 Xcode: Xcode 9.2 Build version 9C40b Android Studio: Not Found
Packages: (wanted => installed) react: 16.2.0 => 16.2.0 react-native: 0.52.2 => 0.52.2
Target Platform: iOS (8.0)
Steps to Reproduce
react-native init NumbersPlease
App.js
to render aTextInput
withkeyboardType='numeric'
:import React, { Component } from 'react'; import { Platform, StyleSheet, Text, View, TextInput } from 'react-native';
const instructions = Platform.select({ ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', android: 'Double tap R on your keyboard to reload,\n' + 'Shake or press menu button for dev menu', });
export default class App extends Component<{}> { render() { return (
} }
const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: '#F5FCFF', }, welcome: { fontSize: 20, textAlign: 'center', margin: 10, }, instructions: { textAlign: 'center', color: '#333333', marginBottom: 5, }, });