[TIMOB-1004] Android doesn't respect border* property change
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:41:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | Android |
Labels | android, border, defect |
Reporter | Konstantin |
Assignee | Blain Hamon |
Created | 2011-04-15T02:41:19.000+0000 |
Updated | 2017-03-02T18:19:56.000+0000 |
Description
I have some kind of custom component, color selector. It looks like [[Color1] [Color2] [Color3]]. I made it with views, where [ColorX] - Square with rounded borders. In event click handler I change view border* property:
ColorPicker.prototype.onColorClick = function(e, color){
//log('onColorClick', color, this.selectedBorder, e.source.borderColor);
if(this.selectedItem){
//log('Change color back');
this.selectedItem.borderWidth = this.normalBorder;
}
this.selectedColor = color;
this.selectedItem = e.source;
this.selectedItem.borderWidth = this.selectedBorder;
//log('done', this.selectedColor);
};
I tried to change borderWidth and borderColor and failed. On android any of these properties are not changed, but everything works on iPhone. BTW color is actually selected on both platforms, but view isn't reflected on Android.
Forgot to add:
Platform 1.3.0, OS MacOSX, Win7/XP, Android 2.1 iPhone 3.1.3
This is a special case of #934
Closing as invalid.