# Multi-State Box bugs

**URL:** <https://forum.wixstudio.com/t/multi-state-box-bugs/30028>\
**Category:** Ask the community\
**Tags:** design, code, question\
**Created:** [March 26, 2020, 3:47pm UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028 "2020-03-26T15:47:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![olymp9network](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/olymp9network/32/16209_2.png) [@olymp9network](https://forum.wixstudio.com/u/olymp9network)\
**Post date:** [March 26, 2020, 3:47pm UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/1 "2020-03-26T15:47:15Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![givemeawhisky](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/givemeawhisky/32/5383_2.png) [@givemeawhisky](https://forum.wixstudio.com/u/givemeawhisky)\
**Post date:** [March 26, 2020, 7:59pm UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/2 "2020-03-26T19:59:07Z")

</div>

Have you seen the example here for it?  
[https://www.wix.com/corvid/example/state-toggle](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](https://www.wix.com/corvid/reference/$w.MultiStateBox.html)

Is your code setup correctly?

---

<div class="post-metadata">

**Author:** ![olymp9network](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/olymp9network/32/16209_2.png) [@olymp9network](https://forum.wixstudio.com/u/olymp9network)\
**Post date:** [March 27, 2020, 12:37am UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/3 "2020-03-27T00:37:52Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![stan-michael-termini](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/stan-michael-termini/32/1586_2.png) [@stan-michael-termini](https://forum.wixstudio.com/u/stan-michael-termini)\
**Post date:** [April 15, 2021, 2:51am UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/4 "2021-04-15T02:51:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![giri-zano](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/giri-zano/32/80469_2.png) [@giri-zano](https://forum.wixstudio.com/u/giri-zano)\
**Post date:** [April 15, 2021, 4:11am UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/5 "2021-04-15T04:11:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![stan-michael-termini](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/stan-michael-termini/32/1586_2.png) [@stan-michael-termini](https://forum.wixstudio.com/u/stan-michael-termini)\
**Post date:** [April 15, 2021, 4:31am UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/6 "2021-04-15T04:31:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![giri-zano](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/giri-zano/32/80469_2.png) [@giri-zano](https://forum.wixstudio.com/u/giri-zano)\
**Post date:** [April 15, 2021, 6:11pm UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/7 "2021-04-15T18:11:11Z")

</div>

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”?

---

<div class="post-metadata">

**Author:** ![shaneallwood](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/shaneallwood/32/26069_2.png) [@shaneallwood](https://forum.wixstudio.com/u/shaneallwood)\
**Post date:** [December 25, 2022, 12:44pm UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/8 "2022-12-25T12:44:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![codequeen](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/codequeen/32/88960_2.png) [@codequeen](https://forum.wixstudio.com/u/codequeen)\
**Post date:** [March 3, 2024, 3:39pm UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/10 "2024-03-03T15:39:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Landon\_M](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/landon_m/32/89101_2.png) [@Landon\_M](https://forum.wixstudio.com/u/Landon_M)\
**Post date:** [May 4, 2024, 1:41pm UTC](https://forum.wixstudio.com/t/multi-state-box-bugs/30028/11 "2024-05-04T13:41:38Z")

</div>

it was solved. thank you for your response.
