Multi State Boxes for Mobile

Multi State Boxes not working on mobile build.

I have created multi state boxes and have used buttons to trigger different states using onClick and changeState. It is working perfectly on desktop - but it’s not at all working when previewing on mobile.

Attaching a screenshot of the code.

Please advise how to fix this issue.

Hey Shashank!

Try using this code inside your onReady function:

$w("#mobTabKitPass").onClick(() => {
  $w('#mobTabContent').changeState("mobKitchen");
});