Double block hydration on browser resume

This is a really isolated issue at the moment that I haven't been able to replicate (I can sometimes) so I haven't quite gotten to the point of making a github ticket for those reasons. Essentially the working theory is that if you load an admin module editor page, and then navigate away from that page in a way that causes the active browser to suspend the memory for that tab (or something), when you come back to resume that browser tab, it causes a rehydration event or something which is causing blocks that were originally there to be duplicated. Workflow on this image: 1. Added Key Features and Column Callout blocks, saved page 2. Came back and reloaded the page, added product info slider, resource download, and product reviews 3. Navigated away for a while to get some more information 4. Came back to find blocks had duplicated I'm still not sure if this is exactly the problem as it has been so intermittent, so any thoughts at all on whether I'm even going down the right path to try and figure this error out would be really helpful.
6 Replies
ifox
ifox3y ago
Hi @RandomAnalyticsGuy thanks for reporting this, very interesting, we'll investigate. Do you use any extension for tabs management? like autosuspender, things like that
RandomAnalyticsGuy
Nope no extensions for anything like that. It’s been very difficult to diagnose as I haven’t been able to perfectly replicate it but it’s a bug that is definitely happening repeatedly, I can’t tell if it’s something I did or something core. If anything I figured I’d try to put it on your alls radar
Hro
Hro3y ago
I did some "basic" searches regarding this behaviour but could not find anything. Could you maybe create an issue in github for this, it improves discoverability and maybe we can find others with similar experiences like that. Please also indicate the browser you are using.
RandomAnalyticsGuy
Chrome, will make a ticket when I get into the office
RandomAnalyticsGuy
GitHub
Double Block Hydration on browser resume (unconfirmed) · Issue #186...
Description This is a really isolated issue at the moment that I haven't been able to replicate (I can sometimes) so keep that in mind. Essentially the working theory is that if you load an...
RandomAnalyticsGuy
Thanks for taking a peek, this isn't urgent or anything, as saving the module entry before you navigate away for any extended period of time should be best practice, and a page refresh gets rid of the duplicated blocks assuming you don't save when you return and see the duplication
Want results from more Discord servers?
Add your server