Commit 9544d79
committed
Fix event filtering: allow user interaction detection regardless of
generation state
The ChatEditor::eventFilter method previously wrapped its interaction
logic inside an if (m_input && m_input->isGenerating()) guard. This
meant that the editor only recorded scroll, mouse, or key events while
the model was actively generating text.
This could result in a scroll to bottom event when the follow-up
questions were received.1 parent 2230aee commit 9544d79
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
789 | 787 | | |
790 | 788 | | |
791 | 789 | | |
| |||
0 commit comments