This issue is intended to track various issues that reduce the “jankiness” of Drupal’s admin interface.
What is jank?
“Jank” is any stuttering or choppiness that a user experiences when there is motion on the screen—like during scrolling, transitions, or animations. So although a website may look incredible and load quickly, if there’s jank—a noticeable choppiness when using the page—this will negatively affect the user experience—something we all want to avoid.
Specifically within Drupal, a number of admin interfaces are janky on page load. This means that when you initially navigate to the page, it quickly loads looking one way, and then when JavaScript loads, it modifies the page to look another way.
Jank Issues
- #3361315: Dropbutton quickly shows/hides its menu on pageload causing layout shift
- #3404215: Tabledrag creates jank (layout shift) on page load
- #3404217: States API creates jank (layout shift) on page load
- #3404218: Table filter creates jank (layout shift) on page load
- #3441124: Views UI action buttons create janky layout shift on page load
- #3441175: Read only "machine name" field appears and disappears within certain admin pages, causing layout shift
- #3441137: BigPipe injecting Local Actions block creates large janky layout shift in Claro
- #3443559: Regression: Shortcuts menu flickers when the page is loaded
- #3446078: Olivero content shift on page load
Comments
Comment #2
mherchelComment #3
mherchelComment #4
mherchelComment #5
mherchelComment #6
mherchelAdding #3443834: Investigate possibility of creating API, CSS class, reusable animation to help eliminate page jank
Comment #7
mherchelRefreshing issue statuses
Comment #8
mherchelComment #9
mherchelComment #10
mherchelComment #11
catchNote that #3493911: Add a CachedPlaceholderStrategy to optimize render cache hits and reduce layout shift from big pipe should massively reduce layout shift from things that are placeholdered with bigpipe on warm caches, I don't think helps with any of the current listed issues.
Adding #3505610: Add a placeholder preview for the navigation toolbar which is a follow-up to that one since it doesn't help with completely cold caches.