Skip to content

Commit 6288370

Browse files
committed
Make the DOM update a little smoother, only update changed elements
1 parent a742186 commit 6288370

5 files changed

Lines changed: 436 additions & 12 deletions

File tree

client/dist/queuedjobs-admin.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,14 @@
148148
max-width: none;
149149
}
150150
}
151+
152+
/* ==========================================================================
153+
Live Refresh Optimizations
154+
========================================================================== */
155+
156+
/* Disable transitions during live refresh updates to prevent flicker */
157+
.queuedjobs-live-updating,
158+
.queuedjobs-live-updating * {
159+
transition: none !important;
160+
animation: none !important;
161+
}

client/dist/queuedjobs-admin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/src/queuedjobs-admin.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,14 @@
148148
max-width: none;
149149
}
150150
}
151+
152+
/* ==========================================================================
153+
Live Refresh Optimizations
154+
========================================================================== */
155+
156+
/* Disable transitions during live refresh updates to prevent flicker */
157+
.queuedjobs-live-updating,
158+
.queuedjobs-live-updating * {
159+
transition: none !important;
160+
animation: none !important;
161+
}

0 commit comments

Comments
 (0)