[TIMOB-8876] iOS: View - ability to disable clipping
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.0.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | api |
Reporter | Jon Alter |
Assignee | Unknown |
Created | 2012-04-24T15:35:01.000+0000 |
Updated | 2018-02-28T20:03:32.000+0000 |
Description
In 2.0.1 views that run outside of the bounds of the parent view are clipped at the edge of the parent view.
Requesting the ability to disable this clipping at will, this will allow the developer to disable clipping and the child view will be seen outside of the parent like in 1.8.2 and before.
The code below can be used to test this once it is implemented.
var win = Ti.UI.createWindow({backgroundColor:'white'});
win.open();
var view1 = Ti.UI.createView({
backgroundColor: 'blue',
height: 200,
width: 200,
disableClipping: true
});
win.add(view1);
var view2 = Ti.UI.createView({
backgroundColor: 'red',
height: 300,
width: 300,
top: 5,
left: 5
});
view1.add(view2);
Can we get this bumped into 3.2 ?