mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix(web): disable markdown typewriter animation on initial render
Pass :typewriter="false" on the About page and bind :typewriter="message.streaming" in chat so that history messages render instantly while streaming output retains the fade-in effect.
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
<MarkdownRender
|
||||
:content="checkResult.body"
|
||||
:is-dark="isDark"
|
||||
:typewriter="false"
|
||||
custom-id="release-notes"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -117,6 +117,7 @@
|
||||
<MarkdownRender
|
||||
:content="block.content"
|
||||
:is-dark="isDark"
|
||||
:typewriter="message.streaming"
|
||||
custom-id="chat-msg"
|
||||
/>
|
||||
</div>
|
||||
@@ -205,6 +206,7 @@
|
||||
<MarkdownRender
|
||||
:content="block.content"
|
||||
:is-dark="isDark"
|
||||
:typewriter="message.streaming"
|
||||
custom-id="chat-msg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user