Commit 7aec4cf
committed
fix: remove 500-message limit to prevent scrollbar jumping in long conversations
Fixes #7052
The issue was caused by array index shifting when conversations exceeded 500 messages.
Each new message would cause the oldest message to be dropped and all indices to shift,
making Virtuoso lose track of the current scroll position.
This fix removes the message limit entirely and lets Virtuoso handle virtualization
of all messages efficiently, completely eliminating the index shifting problem.1 parent 962df86 commit 7aec4cf
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
905 | 903 | | |
906 | 904 | | |
907 | 905 | | |
| |||
0 commit comments