Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15383] MobileWeb: Animations need to be made more asynchronous via setTimeout to avoid hideously huge stacks

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-09-30T23:26:34.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 20, 2013 Sprint 20 Tooling, Release 3.2.0
ComponentsMobileWeb
Labelsn/a
ReporterBryan Hughes
AssigneeChris Barber
Created2013-09-30T23:20:18.000+0000
Updated2017-03-09T00:27:32.000+0000

Description

If a startup delay is not specified, the go() method is called immediately, which causes the animation to become more synchronous. This causes call-stacks to grow over time and makes memory leaks more common. Wrapping it in a setTimeout(0) will fix it.

Comments

  1. Bryan Hughes 2013-09-30

    PR: https://github.com/appcelerator/titanium_mobile/pull/4751
  2. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source