fix use of :key on "more" slot in MkReactionsViewer
This commit is contained in:
parent
8028c4e8c2
commit
14bd7f5030
|
@ -23,7 +23,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
:myReaction="props.myReaction"
|
:myReaction="props.myReaction"
|
||||||
@reactionToggled="onMockToggleReaction"
|
@reactionToggled="onMockToggleReaction"
|
||||||
/>
|
/>
|
||||||
<slot v-if="hasMoreReactions" name="more"/>
|
<slot v-if="hasMoreReactions" :key="'$more'" name="more"/>
|
||||||
</SkTransitionGroup>
|
</SkTransitionGroup>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ watch([() => props.reactions, () => props.maxNumber], ([newSource, maxNumber]) =
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
.root {
|
.root, .moreReactions {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in New Issue