Select to view content in your preferred language

Bug in v3.17 of JavaScript API for iPhone

983
1
08-01-2016 12:51 PM
KadeSmith
Occasional Contributor

I recently switch my web site from  js.arcgis.com/3.16 to js.arcgis.com/3.17 and noticed that all of my dojox.mobile.Switch elements were displaying incorrectly on the iPhone. This is how it looks:

esriError.png

Code for dojox.mobile.Switch on iPhone in v3.17 when displaying incorrectly:

<div class="mblSwitchInner" style="left: 0px;">...</div>

Code for dojox.mobile.Switch on iPhone in v3.16 when displaying correctly:

<div class="mblSwitchInner" style="left: -53px;">...</div>

Code on all other the devices in v3.16 and v3.17 where the switch appears correctly:

<div class="mblSwitchInner" style="left: -53px;">...</div>

Is this a bug?

Tags (2)
0 Kudos
1 Reply
KadeSmith
Occasional Contributor

One more piece of information. Just out of curiosity I changed my version to 3.18 and it rendered correctly.

0 Kudos