Merge pull request #16453 from overleaf/ii-review-panel-dismiss-bulk-actions

[web] Fix bulk actions in review panel

GitOrigin-RevId: c78c99b0a3b005a0a4490ce393eb5d540f23ebc2
This commit is contained in:
ilkin-overleaf 2024-01-12 12:09:56 +02:00 committed by Copybot
parent 4a7a24b44d
commit f67e19f6d2

View file

@ -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
setTimeout(() => {
// Delay the execution to make sure it runs after `broadcastChange`
scheduleDispatchFocusChanged(view.state, 'rejectChanges')
}, 30)
break
}