summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-18 12:37:18 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-18 12:37:18 +0900
commitb2c24af69e50bad3e925805a32f68be34a511664 (patch)
tree94585fe5d008ea4696e56313f06e9a3679219e59 /src/web
parentwip (diff)
downloadmisskey-b2c24af69e50bad3e925805a32f68be34a511664.tar.gz
misskey-b2c24af69e50bad3e925805a32f68be34a511664.tar.bz2
misskey-b2c24af69e50bad3e925805a32f68be34a511664.zip
wip
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/views/components/dialog.vue28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/web/app/desktop/views/components/dialog.vue b/src/web/app/desktop/views/components/dialog.vue
index f2be5e4433..af65d5d21e 100644
--- a/src/web/app/desktop/views/components/dialog.vue
+++ b/src/web/app/desktop/views/components/dialog.vue
@@ -32,20 +32,22 @@ export default Vue.extend({
}
},
mounted() {
- (this.$refs.bg as any).style.pointerEvents = 'auto';
- anime({
- targets: this.$refs.bg,
- opacity: 1,
- duration: 100,
- easing: 'linear'
- });
+ this.$nextTick(() => {
+ (this.$refs.bg as any).style.pointerEvents = 'auto';
+ anime({
+ targets: this.$refs.bg,
+ opacity: 1,
+ duration: 100,
+ easing: 'linear'
+ });
- anime({
- targets: this.$refs.main,
- opacity: 1,
- scale: [1.2, 1],
- duration: 300,
- easing: [0, 0.5, 0.5, 1]
+ anime({
+ targets: this.$refs.main,
+ opacity: 1,
+ scale: [1.2, 1],
+ duration: 300,
+ easing: [0, 0.5, 0.5, 1]
+ });
});
},
methods: {