Multi-State Box bugs

Hello.
I use Multi-State Boxes in one of the pages and constantly face various bugs. One or anther Multi-State Box does not respond to the code. Only after I delete it and create it again, it works. The mobile version is a complete mess. Pieces of text and design elements fly away from the boxes outside their boundaries, shifting everything randomly downward, and affecting other Multi-State Boxes. Has anyone had similar problems?
Thank you!

1 Like

Have you seen the example here for it?
https://www.wix.com/corvid/example/state-toggle

As well as the Wix API Reference for it too.
https://www.wix.com/corvid/reference/$w.MultiStateBox.html

Is your code setup correctly?

Thanks for the example and reference, but I have 15 multi state boxes, with several pages each and about a thousand lines of code, to be more specific. There are no errors in the code. This is not the first time I face such a bug (this is definitely a bug) and only deleting and redoing from the beginning solves the problem. But the day after it was solved - another multi state box stopped responding correctly.
In the mobile version the problems are not related to the code at all. A multi-state box just doesn’t always keep elements within.
For my tasks this is a great and very useful tool. Maybe the guys from Wix will be able to watch this after the weekend from their side. It would be nice…

My Multi-State Box isn’t working on a mobile version of the page any thoughts?

You prob. have elements that you “hide” in the Mobile version thru the editor. If so, that is the cause, the multistate goes crazy. Known problem. Solution: check in code for formFactor and check for "mobile, then .collapse() the elements from code instead of hiding in editor.

Thanks Zano, I did fix it, I had several state boxes buttons that controlled them hidden in the mobile version and they were above the working buttons that I didn’t hide and after I made the code check those button codes for accuracy then it worked. Super appreciate the fast response.

Great. Could you please add the word “(Solved)” to your question title and, if you feel this is so, mark it with a “Best Answer”?

I have the same issue, elements stay on desktop view but dont attch on mobile. these bugs seem to happen alot its slowing us now, another issue found with custom log in pages, elements not attaching or just flying off.

Keep trying to work around them by going to the next job but then another issue is found. Coming up to 2 years now and still cant release one website because of unfinished work due to bugs

Your database settings could be wrong, the code logic could be wrong, the dataset could be configured wrong …… it can be almost anything.

If you post screenshots of your page elements and code then the community can possibly point you in the right direction.

it was solved. thank you for your response.