Studio preview bug using Reveal animation

Hello, I’m trying to use the Reveal on scroll animation (custom behavior), but I see that the wrapped components don’t have the styles I applied using the “Default styles theme” in the left sidebar of the editor.

here you can see on top the H3 wrapped component without the default styles, and on the bottom the normal H3 component with the default styles

What are the reproduction steps?

  1. Apply some default styles to the theme, for example to the H3 element
  2. Place an H3 element on the page, the default styles are visible
  3. Wrap said element in a “Reveal” custom behavior, the default styles are gone

Suggestions:

In my experience adding the themeResetClass prop to the “Reveal” code component fixes the problem

Ended up creating my own code components for react-awesome-reveal. I confirm that adding themeResetClass and merging it with classNames() fixes the issue