Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8876] iOS: View - ability to disable clipping

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.0.2
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterJon Alter
AssigneeUnknown
Created2012-04-24T15:35:01.000+0000
Updated2018-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);

Comments

  1. Shannon Hicks 2013-04-09

    Can we get this bumped into 3.2 ?

JSON Source