TextArea Grammarly exception: resizeObserver loop limit exceeded

The Grammarly Chrome Browser Extension (https://www.grammarly.com/) causes an exception: resizeObserver loop limit exceeded on TextAreas following the user interacting with the Grammarly extension.

How can I ignore only this exception so that it does not display to the user (in the default red error alert box to the bottom right corner)?

Thanks.

I have the same issue, by any chance you find a solution @stu?

Unfortunately not Tony.
No doubt there is some javascript that will catch the exception but I haven’t yet found it.

I don’t know if this would work in your situation, but there are ways in Javascript to catch otherwise unhandled exceptions: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror

Presumably you could check to see what sort of exception it is, and return true to skip normal handling or false to allow the normal handling to continue.

I’m not a Javascript person, though, so you’d need to experiment with it to see if it works for the types of errors you’re seeing.

1 Like

Thanks for that @jshaffstall, I will give it a try

Did you get it ? I’m also having same issue

Hi @mayanksaxena.ism, this issue is minor and I haven’t had time to fix it. You can give it a try