Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4595] iOS: allow access to the scrollEnabled property for a textArea

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-07-11T15:41:28.000+0000
Affected Version/sRelease 1.7.1
Fix Version/sSprint 2011-27, Release 1.8.0
ComponentsiOS
Labelsn/a
ReporterJon Alter
AssigneeReggie Seagraves
Created2011-07-05T16:09:39.000+0000
Updated2017-03-08T00:06:33.000+0000

Description

Would like to be able to disable scrolling on a textArea by setting "scrollable = false".
var win = Titanium.UI.createWindow();
win.open();

var ta = Ti.UI.createTextArea({
	top: 50,
	width: 200,
	height: 30,
	scrollable:false,
	backgroundColor: "white"
});
win.add(ta);
-(void)setScrollable_:(id)value
{
	[(UITextView *)[self textWidgetView] setScrollEnabled:[TiUtils boolValue:value]];
}

Associated Helpdesk Ticket

http://appc.me/c/RUT-47599-528

Pull Request

https://github.com/appcelerator/titanium_mobile/pull/186

Comments

  1. Don Thorp 2011-07-06

    Fixed task type, added pull request link, set fixVersion to this this week for scheduling.
  2. Don Thorp 2011-07-29

    This was committed to master w/o the version being set. Set the fix version.
  3. Lee Morris 2017-03-08

    Closing ticket due to time passed.

JSON Source