Cannot toggle visibility of element.

I have an issue were I can’t toggle visibility of an element of one of my pages. It works for every other element on the page and even child elements of the broken element.

One strange thing that I see is that the visibility is shown for the “Base” variant as invisible and for some strange triangle symbol as visible.

image.png

I could solve it by deleting it, re-creating it and manually re-apply all the styles, which was a bit annoying…