Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27122] TextField's padding property top and bottom not working on iOS

GitHub Issuen/a
TypeBug
PriorityCritical
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 7.5.0, Release 8.0.1
Fix Version/sn/a
ComponentsiOS
Labelsdefect, engSchedule
ReporterACI Informatica
AssigneeShak Hossain
Created2019-06-03T16:41:43.000+0000
Updated2019-06-04T15:41:26.000+0000

Description

*Problem* Top and bottom of the padding property isn't working on iOS and nothing is written in the docs about this. *Test case*

Execute below code

Padding top and padding bottom aren't present

$.win.open();
<Alloy>
	<Window id="win">
			<TextField id="field"/>
	</Window>
</Alloy>
TSS:
"#win": {
	backgroundColor: 'black'
}

"#field": {
	height: Ti.UI.SIZE,
	width: Ti.UI.SIZE,
	top: 32,
	backgroundColor: 'red',
	padding: {
		top: 32,
		bottom: 32,
		right: 32,
		left: 32,
	},
	value: 'Test Test Test Test'
}

Attachments

FileDateSize
ios.png2019-06-03T16:39:05.000+000019262

Comments

  1. Rene Pot 2019-06-03

    Can confirm the same result on SDK 8.0.1.GA
  2. Sharif AbuDarda 2019-06-03

    Hello, I was able to reproduce the issue on iOS 12.2 simulator with SDK 8.0.1.GA. This is a valid issue in iOS. Works fine in Android.

JSON Source