Hi,
Check out this post on GitHub: https://github.com/WordPress/gutenberg/issues/10569. They reference to some flipping class name solution.