Yes I think its a bug as dynamic classes seems to be not working with specifically the column of a layout grid. I was able to hide a container widget via ‘hidden’ class using the dynamic classes. But same didn’t work for the layout grid column.
For now you can use the flexbox layout using containers which can give same look and feel as of a layout grid. And flexbox is flexible to any addition/removal of elements. It automatically adjusts the UI. You can easily toggle visibility of the containers based on any condition. Dynamic classes is another option. Any of these will work.
Thanks for sharing this information! I will try it soon and let you know the outcome.
Enjoy the evening!