diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-06-22 18:03:08 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-06-22 18:03:08 +0900 |
| commit | 09c5efc161585f0c7443bb6e1cc737397a149dde (patch) | |
| tree | 6de011866bbbee0749bb3fd830e752556b4cbe2e /src/client/app/mobile | |
| parent | Clean up: Remove the unused file (diff) | |
| download | misskey-09c5efc161585f0c7443bb6e1cc737397a149dde.tar.gz misskey-09c5efc161585f0c7443bb6e1cc737397a149dde.tar.bz2 misskey-09c5efc161585f0c7443bb6e1cc737397a149dde.zip | |
:v:
Diffstat (limited to 'src/client/app/mobile')
| -rw-r--r-- | src/client/app/mobile/views/components/notes.vue | 7 | ||||
| -rw-r--r-- | src/client/app/mobile/views/components/notifications.vue | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue index 7aaf0424c7..06d22c7258 100644 --- a/src/client/app/mobile/views/components/notes.vue +++ b/src/client/app/mobile/views/components/notes.vue @@ -13,7 +13,9 @@ <button @click="resolveInitPromise">%i18n:@retry%</button> </div> - <transition-group name="mk-notes" class="transition"> + <!-- トランジションを有効にするとなぜかメモリリークする --> + <!-- <transition-group name="mk-notes" class="transition"> --> + <div class="transition"> <template v-for="(note, i) in _notes"> <mk-note :note="note" :key="note.id" @update:note="onNoteUpdated(i, $event)"/> <p class="date" :key="note.id + '_date'" v-if="i != notes.length - 1 && note._date != _notes[i + 1]._date"> @@ -21,7 +23,8 @@ <span>%fa:angle-down%{{ _notes[i + 1]._datetext }}</span> </p> </template> - </transition-group> + </div> + <!-- </transition-group> --> <footer v-if="more"> <button @click="loadMore" :disabled="moreFetching" :style="{ cursor: moreFetching ? 'wait' : 'pointer' }"> diff --git a/src/client/app/mobile/views/components/notifications.vue b/src/client/app/mobile/views/components/notifications.vue index 6bb9e9bb2c..fc220c252a 100644 --- a/src/client/app/mobile/views/components/notifications.vue +++ b/src/client/app/mobile/views/components/notifications.vue @@ -1,6 +1,8 @@ <template> <div class="mk-notifications"> - <transition-group name="mk-notifications" class="transition notifications"> + <!-- トランジションを有効にするとなぜかメモリリークする --> + <!-- <transition-group name="mk-notifications" class="transition notifications"> --> + <div class="transition notifications"> <template v-for="(notification, i) in _notifications"> <mk-notification :notification="notification" :key="notification.id"/> <p class="date" :key="notification.id + '_date'" v-if="i != notifications.length - 1 && notification._date != _notifications[i + 1]._date"> @@ -8,7 +10,8 @@ <span>%fa:angle-down%{{ _notifications[i + 1]._datetext }}</span> </p> </template> - </transition-group> + </div> + <!-- </transition-group> --> <button class="more" v-if="moreNotifications" @click="fetchMoreNotifications" :disabled="fetchingMoreNotifications"> <template v-if="fetchingMoreNotifications">%fa:spinner .pulse .fw%</template> |