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"
|
||||
@reactionToggled="onMockToggleReaction"
|
||||
/>
|
||||
<slot v-if="hasMoreReactions" name="more"/>
|
||||
<slot v-if="hasMoreReactions" :key="'$more'" name="more"/>
|
||||
</SkTransitionGroup>
|
||||
</template>
|
||||
|
||||
|
@ -115,7 +115,7 @@ watch([() => props.reactions, () => props.maxNumber], ([newSource, maxNumber]) =
|
|||
position: absolute;
|
||||
}
|
||||
|
||||
.root {
|
||||
.root, .moreReactions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in New Issue