Optimize chat scrolling for the 40th time, hopefully the last one

This commit is contained in:
oobabooga 2025-06-19 21:23:10 -07:00
parent acd57b6a85
commit f154aeafea

View file

@ -1670,3 +1670,15 @@ button:focus {
#textbox-notebook span {
display: none;
}
.chat-parent {
/* Optimize for scrolling performance */
will-change: scroll-position;
contain: layout style paint;
/* Ensure GPU acceleration */
transform: translateZ(0);
/* Prevent layout shifts */
overflow-anchor: none;
}