Significant performance issues lately

I don’t know if it’s something I did or out of my control, but there’s been noticeable declines in performance on my app.

When I debugged the console, I see the following error executing hundreds of times:

ResizeObserver loop completed with undelivered notifications.

Is there any way to diagnose to see which element is causing this issue?

It’s due to dynamic resizing…

You should first try to run in debug_mode without any plugins or html elements to see if this can come from a plugin.

1 Like

Thanks! Confirming - I’ve added “bubble_no_third_party_plugin=true” to the URL and the errors stopped. Is it now just a process of isolating each?

Likely a plugin is watching for changes on the page, such as things changing size.

Likely whichever plugin you are using for dynamic resizing is doing it…what are you using a plugin for dynamic resizing? The flexbox responsive system should be sufficient for dynamic resizing of elements.

2 Likes

I’m not using a plugin for dynamic resizing.

Some plugin is watching for changes

1 Like

If you add new plugin recently, you should first test without them.
Also, some plugins are adding script to all page even if they don’t have an element on the page. So you can try with a test page without any plugins to see if you got this error or not. If you don’t, start by adding plugins one by one on the page to test which one could create issue.

Finally, when you run without plugin, did you see performance improvment? It could be something else…

1 Like

Yes, seeing improved performance once I disabled plugins. Now doing a clean-up on my plugins to 1) remove ones not in use and 2) isolate each.

1 Like

Actually, it’s still happening without the plugins. I wasn’t recreating the actions properly to trigger the issue.

Here’s the errors:
image

Looks like it’s something up with some of my elements responsive layouts…?

Like I said, it could be a plugin even if you don’t have them on the page because some plugins add script to every page. But it could also be Bubble issue. More, this error message could be unrelated to the performance issue you have.

Thanks. I compared performance versus another old branch and deleted all plugins that had been added since. The performance issue persisted, leading me to think it’s either an upgrade to a plugin or bubble.

1 Like

this usually happens because of the way that Bubble truncates text with a third party library. Typically the resolution here is to increase the min height of the relevant element.

If you have issues finding the specific element causing problems I recommend you submit a ticket to the support team and they can take a look at your app

1 Like

I found the issue. It was due to a repeating group inside my navigation (list of the user’s chats). When the navigation was hidden, it would result in those errors. I hide the RG when the navigation was hidden and it fixed it.

3 Likes

This topic was automatically closed after 14 days. New replies are no longer allowed.