Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7781] Android: ScrollViews - No response after singletap

GitHub Issuen/a
TypeBug
PriorityMedium
StatusReopened
ResolutionUnresolved
Affected Version/sRelease 1.8.1, Release 1.8.2
Fix Version/sRelease 3.0.2
ComponentsAndroid
Labelsqe-and021312, reprod
ReporterTamila Smolich
AssigneeUnknown
Created2012-02-22T16:57:14.000+0000
Updated2018-04-27T04:20:32.000+0000

Description

Steps to reproduce: 1. Create a new mobile project 2. Paste the code below into app.js
var win = Ti.UI.createWindow({
    backgroundColor:'white',
    borderColor:    'black',
    borderWidth:    1,
    width:      '100%',
    height:     '100%',
    navBarHidden:   true
});
var scrollView = Ti.UI.createScrollView({
    layout:     'vertical',
    height:     '100%',
    contentWidth:   'auto',
    contentHeight:  'auto',
    showVerticalScrollIndicator: true,
    touchEnabled:   true
});
var textLabel = Ti.UI.createLabel({
    color:      'black',
    text:       "Tap here to fire the singletap event!",
    textAlign:  'left',
    left:       6,
    right:      6,
    top:        6,
    height:     'auto',
    touchEnabled:   false
});
scrollView.add(textLabel);
win.addEventListener('singletap', function(){
    Ti.API.info('singletap event fired!');
});
win.add(scrollView);
win.open();
3. Singletap on the label. Expected result: Singletap should be fired Actual result: No response after singletap, so singletap is not fired.

Comments

  1. jithinpv 2013-03-01

    Issue does not reproduces with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Android Emulator: Android SDK version: 2.2
  2. Shyam Bhadauria 2013-05-22

    The issue has appeared again just after it was verified last. This bug is coming since 3.1.0.v20130319225749 on device Samsung Galaxy Android 2.3.6 , LG-P970 Android 2.2.2 and Samung GALAXY Tab 620 Android 3.2 Tested with below env. Appcelerator Studio: 3.1.1.201305181057 Titanium SDK: 3.1.1.v20130521153706 Titanium SDK: 3.1.0.v20130319225749 Titanium SDK: 3.1.0.GA acs: 1.0.2 alloy: 1.1.3-alpha npm: 1.2.17 titanium: 3.1.1-alpha titanium-code-processor: v1.0.1-alpha OS: Mac 10.8 Device: Samsung Galaxy Android 2.3.6 , LG-P970 Android 2.2.2 and Samung GALAXY Tab 620 Android 3.2
  3. Priya Agarwal 2014-04-02

    Appc Studio: 3.2.3.201403271839 Sdk:3.2.3.v20140401134117 alloy:1.3.1 titanium:3.2.3-alpha2 titanium-code-processor:1.1.1-alpha Osx: Maverick(10.9.2) Device:Galaxy S4(v4.2.2) Issue still exists on 3.2.3.v20140401134117 sdk
  4. Lee Morris 2017-07-11

    I am able to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source