From 13d89b323e8c46252202c9337bd3d7635ae39cb8 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Sun, 1 Aug 2021 23:15:15 -0400 Subject: [PATCH] fix: tippy not appearing on envinput when typing and then hover --- components/smart/EnvInput.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/components/smart/EnvInput.vue b/components/smart/EnvInput.vue index 9edbc7516..a071a8b83 100644 --- a/components/smart/EnvInput.vue +++ b/components/smart/EnvInput.vue @@ -129,8 +129,6 @@ export default defineComponent({ this.debouncedHandler() }, processHighlights() { - this.renderTippy() - if (!this.highlightEnabled) { this.htmlOutput = this.internalValue this.$emit("input", this.internalValue) @@ -202,14 +200,14 @@ export default defineComponent({ .substring(position.start, position.end + 1) .slice(2, -2) result += `${this.safe_tags_replace( this.internalValue.substring(position.start, position.end + 1) )}` @@ -227,6 +225,11 @@ export default defineComponent({ result += " " } this.htmlOutput = result + + this.$nextTick(() => { + this.renderTippy() + }) + this.$emit("input", this.internalValue) }, renderTippy() {