Transitions between pages, the header does not happen like the content

Hello,

For the past few months I have encountered a problem that I cannot resolve on ionic.

Indeed, during transitions between pages, the transition of the header does not happen like the content.

This results in an animation that is not at all clean because the header disappears in bland and the content from right to left.

How do I get the header to be the same animation as the rest of the page to get a correct page transition?

Thank you for your time