ReactionsViewerが消えることがある問題を修正
This commit is contained in:
		| @@ -1,6 +1,5 @@ | ||||
| <template> | ||||
| <button | ||||
| 	v-if="count > 0" | ||||
| 	ref="buttonRef" | ||||
| 	v-ripple="canToggle" | ||||
| 	class="hkzvhatu _button" | ||||
|   | ||||
| @@ -1,10 +1,8 @@ | ||||
| <template> | ||||
| <Transition :name="$store.state.animation ? 'y' : ''"> | ||||
| <div v-if="Object.keys(note.reactions).length > 0" class="tdflqwzn" :class="{ isMe }"> | ||||
| 	<TransitionGroup :name="$store.state.animation ? 'x' : ''"> | ||||
| 	<TransitionGroup v-if="Object.keys(note.reactions).length > 0" :name="$store.state.animation ? 'x' : ''" tag="div" class="tdflqwzn" :class="{ isMe }"> | ||||
| 		<XReaction v-for="(count, reaction) in note.reactions" :key="reaction" :reaction="reaction" :count="count" :is-initial="initialReactions.has(reaction)" :note="note"/> | ||||
| 	</TransitionGroup> | ||||
| </div> | ||||
| </Transition> | ||||
| </template> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo