-
-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Description
The website/src/components/utils/Tabs.vue
component has two v-for loops that are missing :key attributes:
- Lines 23-28:
<a>
element rendering tabs - Lines 36-44:
<template>
element rendering tab content
Impact
Missing :key attributes in v-for loops can lead to:
- Incorrect DOM reuse when
modeText
is mutated or re-ordered - Subtle animation glitches
<keep-alive>
cache issues
Solution
Add :key="mode"
to both v-for loops to ensure Vue can properly track each item during re-renders.
References
- PR: chore: format more files with dprint #777
- Comment: chore: format more files with dprint #777 (comment)
- Requested by: @HerringtonDarkholme
Metadata
Metadata
Assignees
Labels
No labels