Hide/Show stopped working when published

any ideas? it’s still not working on live site. thanks

Hi @info30777 , this looks like an issue in wix side, and a ticket was raised about it

HI @info30777 ,

The issue was originally caused by the viewportEnter and viewportLeave functions being called on the frozen header. Since the header is frozen this is not the intended functionality as it never leaves the viewport.
To resolve this issue, you can simply add a line below the header and set it to show on all pages.
1) Add a line right below Header
2) Set line opacity to 0% (or line width to 0 in design panel)
3) Set line to Show on All Pages
4) Add the viewportLeave and viewportEnter functions to the line in the Site Code Panel along with the relevant elements
5) Save and publish the site

@kanch I am experiencing the same issue about hide & show at my site, could you please help take a look? Or is there anything I can do to avoid this?
It has been running for a few months and everything was totally fine until today, and I haven’t changed a thing. Thank you very much.

Hi Happy,
Thanks for letting us know. The problem should be resolved now. Please let us know if you continue to have problems with hide/show.

Please take a look at https://www.happybarbershophk . com/booking, the show/hide still not working :confused:

@happybarbershophk please reload the page - I can set an appointment through your form.

I am having the same hide/show issue. Works fine in preview, doesn’t work in the browser. www.danchaon.net. For now I have had to use collapse/expand instead, which is what you’ll see on the live site now. Please help me fix this…

Can you please be more specific about the issues and where they are? Also, I can’t get past the landing page—how do I get into your site pages?

I am having similar issues. Everything work fine 100% of the time in preview but 10% of the time when published. Items marked as hidden are visible and my code seems to be being ignored. Loading page direct from browser or refreshing works perfect … just not when linking between pages.

try linking to a product from

and compare the result to refreshing the page.

Please help

Hi Andy,
Can you please send the URL for your site and provide steps to reproduce? Thanks.

@marlowe-shaeffer - it won’t let me add a link

There is a temporary password of ‘xxx’.

To reproduce go to that page and click the top product

This is what the bottom half of the page should look like (there should be some further text and a slider gallery above)

But what it actually looks like is

Lots of stuff that should be hidden isn’t and the slider gallery doesn’t display unless you change the zoom level of the page … then the gallery starts to work

Refresh the same page or go directly to the address in a browser … and it will look like my first screenshot … just not when linked to from another page

Thanks for the detailed instructions. I still can’t see any problems, so I’m sharing this with our QA team. We’ll keep you posted…

@marlowe-shaeffer So far my site is only a landing page. As discussed above, I had to change the code so I now use collapse/expand instead of show/hide because show/hide worked in preview but not on the live site. The actual issue seemed to be that the ‘hide on load’ instruction for my repeater was not honoured on the live site though it was in Preview. Hence the repeater was showing when the page loaded when what I wanted was for it to load when users pressed the envelop icon. Collapse/expand is not ideal for me because it does not allow the animation effects of hide/show. This issue persists today though, as I’ve said, I have changed my site so that the repeater is ‘collapsed’, not hidden, to get round what must be a bug on your side…

Please help!

Problem persists for me, as detailed in my new comment above…

@vatnaz Thanks for providing more info. I’ve shared it with our QA team to investigate.

@vatnaz Hi. I checked the scenario you described with hide/show repeater component, but it worked for me on a live site.

Could you please make a copy of the home page and implement the hide/show function in the same way when you saw this issue happening? It might give us better understanding of what is wrong here.

Thank you in advance,
Regards, Alex