[TIMOB-27122] TextField's padding property top and bottom not working on iOS
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 7.5.0, Release 8.0.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | defect, engSchedule |
Reporter | ACI Informatica |
Assignee | Shak Hossain |
Created | 2019-06-03T16:41:43.000+0000 |
Updated | 2019-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
File | Date | Size |
---|---|---|
ios.png | 2019-06-03T16:39:05.000+0000 | 19262 |
Can confirm the same result on SDK 8.0.1.GA
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.