[TIMOB-6644] iOS: Button - setting backgroundImage causes the button not provide visual feedback when it is clicked
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-23T17:00:35.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-51, Release 2.0.0, Release 1.8.1 |
Components | iOS |
Labels | qe-testadded, regression |
Reporter | Jon Alter |
Assignee | Vishal Duggal |
Created | 2011-12-13T14:12:22.000+0000 |
Updated | 2012-02-02T11:11:47.000+0000 |
Description
Ti.UI.Button does not give feedback that it is being clicked if it has backgroundImage set.
It was working in 1.7.5 but is not working in 1.8.0.1 RC1
Step 1: add the attached image to your Resources folder
Step 2: run the code below
Step 3: click the button
Step 4: notice that that button does not give any feedback that it is being clicked
var win = Ti.UI.createWindow({backgroundColor:'#fff'});
var share = Ti.UI.createButton({
// title: 'Share',
top: 50,
left: 50,
width: 130,
height: 35,
backgroundImage:'share.png'
});
win.add(share);
win.open();
Attachments
File | Date | Size |
---|---|---|
share.png | 2011-12-13T14:12:22.000+0000 | 4094 |
When resolving this issue, check to see if TIMOB-6580 is also resolved.
Pull pending. #1059
Tested with 1.9.0.v20120112104633 with iPod 4.3.3