Problem
In core's MR, there has been a regression and the Shortcuts module is flickering again.

Proposed resolution
Fix the flickering
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | 284771c1a9983d334c94ee3e7608bd49.gif | 239.44 KB | finnsky |
| flickering.gif | 512.79 KB | ckrina |
Issue fork drupal-3443559
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3443559-regression-shortcuts-menu
changes, plain diff MR !7967
Comments
Comment #2
ckrinaComment #4
ckrinaComment #5
mherchelTen bucks says this is caused by BigPipe injecting the data. Should be able to be fixed with https://www.drupal.org/node/3338948 with a similar technique as #3441137: BigPipe injecting Local Actions block creates large janky layout shift in Claro
Comment #6
mherchelConfirmed that it is BigPipe. Everyone now owes me $10.
This isn't a beta-blocker, so let's fix this after it gets into core (which should be very soon).
Comment #7
plopescThank you for being able to capture the glitch!
For reference: This flickering was introduced as part of this comment in the main core
MR:https://git.drupalcode.org/project/drupal/-/merge_requests/7474#note_297577
Need to find a way to have a cacheable placeholder to avoid flickering.
It affects to user navigation block as well, but it's less noticeable, given that's in the footer.
We could consider this a duplicated of #3443452: [PP-1] User menu block render array is cached per user or vice-versa.
Comment #8
ckrinaComment #9
mherchelComment #11
mherchelComment #12
mariacha1 commentedI'm working on this ticket as part of the Drupal2024 First Time Contributor workshop and am mentoring a few people who will say hello below!
We're going to be reviewing this patch.
Comment #13
yojohnyo commentedI will be taking a look at this.
Comment #14
sjothivelu commentedHello,
I am going to be testing on this issue!
-Sara
Comment #15
finnsky commentedThank fo fix. One suggestion added
Comment #16
finnsky commentedComment #17
mherchel@finnsky Good call! Fixed and ready for review.
Comment #18
finnsky commentedYay, no any flickering in menu anymore. Thank you!
Comment #19
finnsky commentedComment #20
nod_Committed and pushed c0beeeea5f to 11.x and 6974f8b7f0 to 11.0.x and 04fad10830 to 10.4.x and 2237b2eed8 to 10.3.x. Thanks!
Comment #26
nod_