Depending on the theme or plugin used, WP Rocket can lead to various display errors. Therefore, only general tips can be given for the settings, which must be individually adjusted according to the respective website.
WP Rocket has summarized typical problems on a help page and at the same time noted the settings for known themes and plugins. Here, certain scripts must then be excluded from caching.
This page can be found at https://docs.wp-rocket.me/article/1560-delay-javascript-execution-compatibility-exclusions.