Disable message action icons during streaming for better performance

This commit is contained in:
oobabooga 2025-06-12 22:01:02 -07:00
parent 2dee3a66ff
commit a25a1fc8d0

View file

@ -1289,6 +1289,20 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
opacity: 1;
}
/* Disable message action hover effects during generation */
._generating .message:hover .message-actions,
._generating .user-message:hover .message-actions,
._generating .assistant-message:hover .message-actions {
opacity: 0 !important;
}
/* Disable message action hover effects during scrolling */
.scrolling .message:hover .message-actions,
.scrolling .user-message:hover .message-actions,
.scrolling .assistant-message:hover .message-actions {
opacity: 0 !important;
}
.footer-button svg {
stroke: rgb(156 163 175);
transition: stroke 0.2s;
@ -1624,8 +1638,3 @@ button:focus {
justify-content: center;
display: none;
}
/* Disable hover effects while scrolling */
.chat-parent.scrolling * {
pointer-events: none !important;
}