Closed timohubois closed 1 year ago
I can confirm this issue:
If you click on one of the hide / show buttons, all layouts are hidden:
@harunbleech This problem is still persist.
This issue also affects repeater fields.
@harunbleech Ah flex inside flex. Yeah I can confirm that too. Must be something easy, I will take a look too.
The data-index value of the acf-hide-layout icon seems a bit of. I’m not sure if it's relevant, but might be something to look into.
I don't think it has anything to do with that. It has to do with the JS that's adding the items.
I have reduced it by 1, so still 2 visible instead of 3 now. In script.js change $controls = $el.find( '.acf-fc-layout-controls' ), to $controls = $el.find( '> .acf-fc-layout-controls' ),
Fixed with the latest release. Thanks to @harunbleech 💪
If flexible_content inside flexible_content is used then the "Hide / Show Layout Button" displayed multiple times.