Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4406] TextField doesn't detect spaces until adding some other charsets when aligned to the right

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-09-05T16:01:38.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsright, space, textalign, textfield
ReporterRicardo Pereira
AssigneeShak Hossain
Created2016-08-31T13:58:25.000+0000
Updated2016-09-05T16:18:09.000+0000

Description

writing in the text field with the alignment set right when writing a not detect space to write another character. How to reproduce:
var field = Ti.UI.createTextField({
    textAlign:'right'
});

$.index.add(field);
Type: "Test." !A.png|thumbnail! Type: "Test. " (add space key 3 or 4 times, here is the bug, it doesn't detect the spaces) !B.png|thumbnail! Type: "Test. n" (add n key, the spaces appear now) !C.png|thumbnail! With more than one space is normal to this to happen, depending on the browser and SO, but when I type just one space, it doesn't appear, this is an image: !Screen Shot 2016-09-01 at 19.00.35.png|thumbnail!

Attachments

FileDateSize
A.png2016-08-31T13:51:51.000+000043115
B.png2016-08-31T13:51:51.000+000043060
C.png2016-08-31T13:51:51.000+000043237
Screen Shot 2016-09-01 at 19.00.35.png2016-09-01T18:02:32.000+000013857

Comments

  1. Sharif AbuDarda 2016-09-01

    Hello, Please send the full reproducible test code that regenerates the issue. Also, Provide the environment information that you are using (SDK version, node, iOS SDK version). Thanks.
  2. Ricardo Pereira 2016-09-05

    I've explained with text and images, what do you need?

JSON Source