Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18360] IOS: Listview pullView .active property not respecting extendEdges

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.4.0, Release 3.4.1
Fix Version/sn/a
ComponentsiOS
LabelsengTriage, extendEdges, ios, pullView
ReporterJason Kotchoff
AssigneeAbir Mukherjee
Created2015-01-09T00:07:58.000+0000
Updated2020-09-03T15:25:17.000+0000

Description

When using a pullView in a ListView in an iOS Window that has extendEdges set to Ti.UI.EXTEND_EDGE_TOP, the .active property in the callback for the pull event is not respecting the content inset on the listview. This makes it impossible to implement a pullView with a custom UI on a window that uses extendEdges. Refer: https://gist.github.com/jkotchoff/c1bdd0fc4bb8dff83885#file-listview_pullview_ios_extend_edges-js-L67 This gist uses the sample code from the Titanium ListView doc to create the custom pullView control but it isn't possible to get the arrow rotation working properly because the pull event is firing prematurely.

Attachments

FileDateSize
extend_edges_bug_report.png2015-01-09T00:07:58.000+000031153
iphone-6-screenshot.png2015-01-12T04:05:59.000+000037712

Comments

  1. Jason Kotchoff 2015-01-12

    Same code running with the same problem on iPhone 6 simulator. ie. the arrow in the pullView is switching directions prematurely when you pull down on the listview. It shouldn't switch directions until the pullView is fully visible.
  2. Shuo Liang 2015-01-12

    Problem can be reproduced on SDK 3.4.* and IOS 8

JSON Source