diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-09 23:12:08 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-09 23:12:08 +0900 |
| commit | fc05540404cd53070b0c419ba50f9d24ceaa3b2b (patch) | |
| tree | ad996129435f2b90050f4dd0e608fa6ff8ac61c4 /src/client | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | misskey-fc05540404cd53070b0c419ba50f9d24ceaa3b2b.tar.gz misskey-fc05540404cd53070b0c419ba50f9d24ceaa3b2b.tar.bz2 misskey-fc05540404cd53070b0c419ba50f9d24ceaa3b2b.zip | |
Fix bug?
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/mobile/views/components/ui.header.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/app/mobile/views/components/ui.header.vue b/src/client/app/mobile/views/components/ui.header.vue index 32ec0a9b72..9e06bcf974 100644 --- a/src/client/app/mobile/views/components/ui.header.vue +++ b/src/client/app/mobile/views/components/ui.header.vue @@ -45,7 +45,9 @@ export default Vue.extend({ }, mounted() { - this.$store.commit('setUiHeaderHeight', this.$refs.root.offsetHeight); + this.$nextTick(() => { + this.$store.commit('setUiHeaderHeight', this.$refs.root.offsetHeight); + }); if (this.$store.getters.isSignedIn) { this.connection = this.$root.stream.useSharedConnection('main'); |