Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1947] Button's enabled = false Does Not Work on Android

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-08-21T20:00:06.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, button
ReporterRyan Asleson
AssigneeNeeraj Gupta
Created2011-04-15T03:06:18.000+0000
Updated2017-03-10T18:23:13.000+0000

Description

This is related to another reported but closed issue:

https://appcelerator.lighthouseapp.com/projects/32238/tickets/1062-button-still-sending-events-while-disabled"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/1062-...

Disabling a button works on iPhone but is definitely broken on Android. In the latest KitchenSink, go to /Resources/examples/button.js. Comment out lines 55-59, the setTimeout function. On iPhone you can click the button once to disable it, and once disabled, it no longer responds to events. On Android, click it once to "disable" it, but you can continue to click it and it will respond to the click events.

Comments

  1. Junaid Younus 2012-08-21

    No test code provided, ticket marked as invalid.
  2. Neeraj Gupta 2012-08-21

    Please reopen this ticket if you manage to reproduce it with the latest release.
  3. Lee Morris 2017-03-10

    Closing ticket as the issue cannot be reproduced.

JSON Source