Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9868] iOS: Create method to setScrollIndicatorInsets

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterRafael Kellermann Streit
AssigneeUnknown
Created2012-07-02T05:40:30.000+0000
Updated2018-02-28T20:03:42.000+0000

Description

When you want make a form in the iOS using TableView, you need to setContentInsets (bottom: 215) when TextField is focused, and than set the scrollIndicatorInsets too. Today, you can't do it with Titanium. My propose is: create a method to setScrollIndicatorInsets in the TableView of iOS. In Android it's automatic.

Comments

  1. Rafael Kellermann Streit 2012-07-03

    Here is the PR: https://github.com/appcelerator/titanium_mobile/pull/2500
  2. Stephen Tramer 2012-07-05

    PR rejected. Any fix for this issue, based on the description, should: * Have documentation * Contain an identical Android API (if possible) * Have a reliable test that demonstrates correct behavior * *AND* based on Android behavior ("automatic") perform the automatic adjustment manually where possible.
  3. Rafael Kellermann Streit 2013-03-05

    Let me be more specific: in iOS, you can set the contentInsets of a UITableView, but you can't set the scrollViewContentInsets. I put two pictures in ticket description, that shows how it works exactly when keyboard is opened, for example (look to scrollViewIndicator). I just can't modify ticket description anymore, here are the pictures: - (with modification) http://imageshack.us/f/818/screenshot20130305at102.png/ - (today) http://imageshack.us/f/23/screenshot20130305at102.png/

JSON Source