Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16047] iOS: Textfield adding a leading white space when text is autocorrected

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-12-19T00:36:48.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterSabil Rahim
AssigneeSabil Rahim
Created2013-12-19T00:32:28.000+0000
Updated2017-03-14T04:57:39.000+0000

Description

var win = Titanium.UI.createWindow({backgroundColor:'#ccc'});
var textField = Ti.UI.createTextField({
  width: 250, top: 100,
  backgroundColor: 'white'
});
win.add(textField);
win.open();
1. Create app with the above code. 2. Enter a word and allow the phone to auto-complete for you 3. Press space and enter another word NOTE: (Good idea to keep on going til the you have scrolled off screen)

Actual:

A whitespace will be appended to the beginning of the text field.

Expected:

No leading whitespace

Comments

  1. Sabil Rahim 2013-12-19

    This is a iOS 7 bug. This bug can be verified using native iOS sample app. Use the following [app](https://www.dropbox.com/s/q93qgqf8cql6e68/iPhoneCoreDataRecipes.zip) Open the app in Xcode. Install app to device. click + button on the top right. start typing using autocorrect, (keep on doing till you go off screen) scroll back to the front observe leading whitespace. Marking ticket as Not our bug.
  2. Lee Morris 2017-03-14

    Closing ticket as the issue is not our bug.

JSON Source