I am having ab issue in a Next.js app. It only happens when the app is on mobile size, right after opening and closing the messenger and navigating to a different route the styling breaks.
If I refresh the browser, the styling reset to its original state.
This behaviour is not presented on desktop size.