Attempt at fixing chat scroll getting stuck on thinking blocks (#7485)

This commit is contained in:
oobabooga 2026-04-15 00:08:08 -03:00
parent 2aee3a1898
commit 4bce4a38fc

View file

@ -415,7 +415,13 @@ audio {
text-align: start;
padding-left: 1rem;
padding-right: 1rem;
contain: layout;
contain: layout paint;
}
.message,
.user-message,
.assistant-message {
contain: layout paint;
}
.chat .message .timestamp {
@ -1827,14 +1833,9 @@ button:focus {
}
.chat-parent {
/* Optimize for scrolling performance */
will-change: scroll-position;
contain: style paint;
/* Ensure GPU acceleration */
contain: style;
transform: translateZ(0);
/* Prevent layout shifts */
overflow-anchor: none;
}