diff --git a/services/web/frontend/js/features/source-editor/extensions/changes/change-manager.ts b/services/web/frontend/js/features/source-editor/extensions/changes/change-manager.ts index 5af521f599..fa9dc2f2c7 100644 --- a/services/web/frontend/js/features/source-editor/extensions/changes/change-manager.ts +++ b/services/web/frontend/js/features/source-editor/extensions/changes/change-manager.ts @@ -376,7 +376,10 @@ export const createChangeManager = ( broadcastChange() // Dispatch a focus:changed event to force the Angular controller to // reassemble the list of entries without bulk actions - scheduleDispatchFocusChanged(view.state, 'rejectChanges') + setTimeout(() => { + // Delay the execution to make sure it runs after `broadcastChange` + scheduleDispatchFocusChanged(view.state, 'rejectChanges') + }, 30) break }