Skip to content

Fix notifications tabs#34

Merged
cbl merged 1 commit into
mainfrom
fix/notifications-tab
Apr 22, 2026
Merged

Fix notifications tabs#34
cbl merged 1 commit into
mainfrom
fix/notifications-tab

Conversation

@cbl

@cbl cbl commented Apr 22, 2026

Copy link
Copy Markdown
Member

Switching notification tabs (All ↔ Mentions) threw two "Something went wrong" toasts (insertBefore on null).

Cause

<NuxtPage :key="route.path" /> in notifications.vue forced an inner remount at the same time the outer app.vue page transition was running its 150ms out-in fade — DOM parent was mid-detach when the inner child tried to mount.

Fix

  • notifications.vue — dropped :key="route.path".
  • notifications/[filter].vue — added definePageMeta({ key: route => route.path }).

Same remount semantics (needed only for filter → filter navigation), scoped to the child page so it doesn't race the outer transition.

@cbl cbl merged commit 7e7ddbe into main Apr 22, 2026
2 checks passed
@cbl cbl deleted the fix/notifications-tab branch April 22, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant