Double Block Hydration on browser resume (unconfirmed) #2446
Unanswered
raymondtri
asked this question in
Q&A
Replies: 1 comment
-
Just had an update on this as it happened again when the pages were completely closed - not just suspended. Will probably be pivoting into trying to see if there's a way for a double save event or something like that causing blocks to duplicate |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 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.
Steps to reproduce
Add blocks to a module and save the entry (Key Features and Column Callout blocks in the image)
Come back to that module edit page at a later date
Add more blocks (product info slider, resource download, and product reviews in the image)
Navigate away for a while (30-45 minutes) to get some information
Come back to find original blocks had duplicated
Expected result
Blocks shouldn't duplicate
Actual result
Blocks did duplicate
Versions
Browser: Chrome
Extensions: None (no auto suspender or anything like that)
Twill version: 2.x
Laravel version: 8
PHP version: 8
Database engine: Postgres
Beta Was this translation helpful? Give feedback.
All reactions