Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17863] Android - Swipe Event Handler Causes ListView to slow down/Stop scrolling

GitHub Issuen/a
TypeBug
PriorityCritical
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.0.0, Release 8.0.1, Release 7.5.2
Fix Version/sn/a
ComponentsAndroid
LabelsengSchedule, listView, scroll, slow, swipe
ReporterPaul Jassal
AssigneeUnknown
Created2014-09-03T16:57:09.000+0000
Updated2021-11-03T14:51:51.000+0000

Description

Create a Listview and add some bound items. Add the Swipe EventHandler (.addEventListener('swipe', swipeEventHandler);) Scrolling of the list is choppy/slow on iPhone. Scrolling of the list stops on Android There is no inertia.

Comments

  1. Shuo Liang 2014-09-04

    Hi, Would you please provide us a test case for your problem, that will be really helpful. Regards Shuo
  2. Moshe Marciano 2014-10-15

    I see this problem too, on SDK 3.4.0.GA
            <Alloy>
       	<Window id="Win" onSwipe="onSwipe" onOpen="openWin">
       		<Require id ="navBar" src="customViews/appNavBar"/>
       
    this causes the scroll to move but not accelerate on Android KitKat (SGS5) when the onSwipe attribute is removed everything is back to normal can we accelerate and escalate this?
  3. Muhammad Qasim 2016-08-26

    Are there any plans to fix this? I am facing this issue even on SDK 5.4.0.GA on Webviews.
  4. Rene Pot 2019-06-05

    I just reproduced this issue using 8.0.1.GA with Android emulator.
  5. Martyn Joyce 2021-11-03

    Thanks for this bug report, even though it hasn't been fixed it has helped me find my problem! This also occurs on ScrollView, there is no inertia on the scroll when onSwipe() is present on Android (all SDKs up to 10.2). This bug report at least helped me find the issue, as i was stumped!

JSON Source