Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#14651 closed defect (worksforme)

SwapView breaks as soon as you use another method to change views

Reported by: pj16 Owned by: ykami
Priority: high Milestone: tbd
Component: DojoX Mobile Version: 1.7.1
Keywords: SwapView performTransition Cc:
Blocked By: Blocking:


I want to mix SwapView? swipe motions to slide views as well as listitems and buttons that employ view.performTransition(). It seems that SwapView? breaks as soon I use any other method to change the view. The HTML code below illustrates. Is there a workaround?



<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/> <meta name="apple-mobile-web-app-capable" content="yes" /> <title> Demo</title> <link href="./dojo-release-1.7.0/dojox/mobile/themes/iphone/iphone.css" rel="stylesheet" /> <script type="text/javascript" src="./dojo-release-1.7.0/dojo/dojo.js" djConfig="isDebug:true, parseOnLoad:true"></script> <script type="text/javascript">

Use the lightweight parser dojo.require(""); Require Dojo mobile dojo.require(""); dojo.require(""); Require the compat if the client isn't Webkit-based dojo.requireIf(!dojo.isWebKit,"");


</head> <body>

<div dojoType=""> <div id="settings" dojoType="" selected="true">

<h1 dojoType="">Settings</h1> <ul dojoType="">

<li dojoType="" moveTo="general">





<div id="general" dojoType="">

<h1 dojoType="" back="Settings" moveTo="settings">General</h1> <ul dojoType="">

<li dojoType="" moveTo="about">


</li> <li dojoType="" rightText="2h 40m" moveTo="about">





<div id="about" dojoType="">

<h1 dojoType="" back="General" moveTo="general">About</h1> <h2 dojoType="">Generic Mobile Device</h2> <ul dojoType="">

<li dojoType="" rightText="AcmePhone?">


</li> <li dojoType="" rightText="AcmePhone?">




</div> </div>



Change History (5)

comment:1 Changed 10 years ago by pj16

Launch the sample html, after fixing the directory references, and then use the swipe motion to slide between views. That works nicely. Now, from the first slide, click the list item. That takes you to slide 2 nicely but the swipe motion no longer works. Thanks, PJ

comment:2 Changed 10 years ago by bill

Component: GeneralDojoX Mobile
Owner: set to ykami

comment:3 Changed 9 years ago by ykami

Resolution: worksforme
Status: newclosed

Apologies for this having been out of my radar for some reason. I believe the problem does not exist any longer in the trunk.

comment:4 Changed 8 years ago by stoci

Hi, I didnt catch what is need to solve this problem. Any other comment will be great. Thanks

comment:5 Changed 8 years ago by ykami

Do you mean you still see the problem even in 1.8 or the trunk?
Or are you looking for a workaround for 1.7?

Note: See TracTickets for help on using tickets.