wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

WP Rocket delay JS and Sentry integration compatibility.

Open zimdin12 opened this issue 7 months ago • 1 comments

I am not sure which of these plugins is causing this.

Problem: On Android and IOS links do not work. I press on the link, it gets focused, JS loads and nothing happens even when I click on it again, it won't work. basically you cannot use that button anymore (other links / buttons work). I spent too much time to figure out what is going on.

Conditions for me: It happens when i have latest WP sentry integration and WP Rocket installed with WP Rocket having delay JS turned on.

I did add wp-sentry-browser to defer JS exclusion list. that helped and it works again. It seems that it doesn't happen out of the box. something triggers it and I am not sure what it is.

On another site I build and manage it does not happen, but that site is much newer and everything is basicly on latest version. Site that it does happen does have some deprecation warnings etc.

I wish I would have more information, but I don't Mb it will help somebody at least :)

Since I am not sure where this bug comes from then I posted it also under Sentry integration issues: https://github.com/stayallive/wp-sentry/issues/200

zimdin12 avatar Jul 17 '24 19:07 zimdin12