diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-26 11:39:12 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-26 11:39:12 +0100 |
commit | 93a691617a20667f97b51362d86f8e1ff7913cda (patch) | |
tree | 431c6085cd1b28e669ab211a19b9353c1eec7ff0 /app | |
parent | cbde95c281af5cdd6b4dee3bdb1bdb360eb71d2c (diff) | |
download | gitlab-ce-93a691617a20667f97b51362d86f8e1ff7913cda.tar.gz |
Replace nextTick with setTimeout
This was causing a weird bug in Safari where the CSS class wasn't applied yet the nextTick timeout was called meaning the CSS transition didn't happen
Closes #32932
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/issue_show/issue_title_description.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/issue_show/issue_title_description.vue b/app/assets/javascripts/issue_show/issue_title_description.vue index 8a7a813efd8..984b96a2dc0 100644 --- a/app/assets/javascripts/issue_show/issue_title_description.vue +++ b/app/assets/javascripts/issue_show/issue_title_description.vue @@ -105,7 +105,7 @@ export default { this.title = title; this.description = description; - this.$nextTick(() => { + setTimeout(() => { this.updateFlag('titleFlag', false); this.updateFlag('descriptionFlag', false); }); |