Skip to content

Commit 8b145b9

Browse files
committed
fix(inboxzero): Keep menu open for showing the animation
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 1460491 commit 8b145b9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/NotificationsApp.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,9 @@ export default {
369369
.delete(generateOcsUrl('apps/notifications/api/v2/notifications'))
370370
.then(() => {
371371
this.notifications = []
372-
this.open = false
372+
setTimeout(() => {
373+
this.open = false
374+
}, 3_000) // confetti-burst animation length + a bit of extra time
373375
setCurrentTabAsActive(this.tabId)
374376
})
375377
.catch(() => {

0 commit comments

Comments
 (0)