Problem description
Text fields where the attribute "paddingLeft" or "paddingRight" is present, are unclickable on the left-hand or right-hand side, respectively.
Expected behavior: Text fields where the attribute "paddingLeft" or "paddingRight" is present, are completely clickable (as they are when those two attributes are not present).
Reproducible use case
The following code adds a text field to a window. The text field has both paddingLeft and paddingRight set, making both the left and right part of the text field unclickable.
Ti.UI.setBackgroundColor("orange");
var window = Ti.UI.createWindow();
var textField = Ti.UI.createTextField({
backgroundColor: "white",
height: 44,
hintText: "Try clicking on this text field at the very left or right",
left: 10,
paddingLeft: 25,
paddingRight: 25,
right: 10,
top: 30
});
window.add(textField);
window.open();
Additional notes
http://developer.appcelerator.com/question/119753/textfield-paddingleft-problem
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPad Simulator: iOS SDK version: 6.0
I have been able to reproduce this issue with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705021158 Ti SDK 6.1.0.v20170519131839 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.7.0_80
properties no longer exist