Skip to content

Commit 7cb6f6d

Browse files
authored
fix: typed animation only on xhr responses (#10)
1 parent c0fcd55 commit 7cb6f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/components/_message.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</div>
1818
{% else %}
1919
<div class="bot-message d-inline-block p-2 px-3 m-1 border border-light-subtle shadow-sm">
20-
{% if latest %}
20+
{% if latest and app.request.xmlHttpRequest %}
2121
<span
2222
data-controller="symfony--ux-typed"
2323
data-symfony--ux-typed-show-cursor-value="false"

0 commit comments

Comments
 (0)