It's happening as a result of a deliberate animation. The CLS metric relates to initial render. So yes, there is layout shift, but it's not CLS per se.
The CLS measures the total sum of layout shifts over the entire lifespan of a page, not just during initial render.