[TIMOB-19972] iOS: Peek&Pop only works on first elements of Ti.UI.ListView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-16T18:37:27.000+0000 |
Affected Version/s | Release 5.1.0 |
Fix Version/s | Release 5.1.0, Release 5.2.0 |
Components | iOS |
Labels | 3dtouch, iOS, peek&pop, preview, previewcontext |
Reporter | Jan van Kampen |
Assignee | Hans Knöchel |
Created | 2015-11-02T12:54:13.000+0000 |
Updated | 2015-11-17T21:03:30.000+0000 |
Description
Preview context only shows up on the top of the tableview. If you have 100 rows, and you scroll down to row ~30, you can't force touch anymore. If you move back to the top, row 1, everything works fine.
Hi , Could we get a reproducible test case? Thanks
Please try it. When you scroll, you can't use peek anymore. But when it works, you get wrong data from de function onPeek.
This is a valid issue, I'm on it.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/7441 PR (5_1_X): https://github.com/appcelerator/titanium_mobile/pull/7442 [~janvankampen] Please try this version as well.
Verified as fixed, Peek & Pop features now work on elements after scrolling. Also checked that the itemIndex for each cell returns the appropriate value. iPhone 6S Plus (9.1) Mac OSX El Capitan 10.11 (15A284) Ti SDK: 5.1.0.v20151116164430 Appc Studio: 4.4.0.201511130407 Appc NPM: 4.2.1.GA Appc CLI: 5.1.0-60 Ti CLI: 5.0.5 Alloy: 1.7.26 Xcode 7.1(7B91b) Node v0.12.7 production *Closing ticket.*