| … | … | @@ -666,66 +668,81 @@ export function PullRequestTimelineTab({ | |
| 732 | + | // Virtualized: a large pull request has thousands of events, and mounting every one stalls | |
| 733 | + | // the page. The connector line is drawn by the content container, behind the rows. | |
| 734 | + | return ( | |
| 735 | + | <LegendList<PullRequestTimelineRow> | |
đźź High pullRequest/PullRequestTimelineTab.tsx:735
Scrolling an edited comment out of the virtualized window unmounts its ConversationCard, closing the editor and discarding the unsaved draft. editing and draft live only in row-local state, so preserve drafts outside virtualized rows or keep editing rows mounted.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
| 1 | In file @apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx around line 735: |
| 2 | |
| 3 | Scrolling an edited comment out of the virtualized window unmounts its `ConversationCard`, closing the editor and discarding the unsaved draft. `editing` and `draft` live only in row-local state, so preserve drafts outside virtualized rows or keep editing rows mounted. |