Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2058] Scroll doesn't work for consequent view if I don't animate the current view (during the initial animation)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionWon't Fix
Resolution Date2013-02-07T00:26:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
Labelsn/a
ReporterOleg Polyakov
AssigneeMauro Parra-Miranda
Created2012-12-21T18:27:54.000+0000
Updated2016-03-08T07:41:01.000+0000

Description

Why do I have animate current view for the consequent view to have a scroll event working? I know the question might sound confusing, so I am adding the code that does the trick. My $.checkin view has a scrollview that wouldn't scroll if I would simply add it to main window and move to left=0. function loadCheckin(category){ $.checkin = Alloy.createController('checkin'); mainWindow.add($.checkin.container); $.checkin.container.left = 639; $.mainContainer.animate({left:0, duration:0},function(){$.checkin.container.animate({left:0, duration:200});}); $.checkin.loadPage(category); }

Comments

  1. Tony Lukasavage 2013-02-07

    Closing due ot lack of info. If a reproducible test case is included then I'll reopen.

JSON Source