| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:04d36499-cb46-f5b4-68d3-3f82c67ec189 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 87C0:1C8E04:DA415A:12BDA9F:6AFB5D85 |
| html-safe-nonce | c3925d719a00e4be55e48afeec9736c2db39ce60a3517ab48ce335119fa39ca9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0MwOjFDOEUwNDpEQTQxNUE6MTJCREE5Rjo2QUZCNUQ4NSIsInZpc2l0b3JfaWQiOiIyNTU5NzgyNDQ0NTUyMjY3NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b30532bcddd05b762616fc9593e5e071d63809dcaa25735af8582fcffad01211 |
| hovercard-subject-tag | pull_request:3665090858 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4559/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Fix root cause of scroll jump: MarkdownCheckboxCtx.Provider was conditionally rendered around the scroll container, causing it to unmount/remount (and reset scrollTop to 0) every time stre... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/4559/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4559%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4559%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/4559/files |
| Reload | https://github.com/simstudioai/sim/pull/4559/files |
| Reload | https://github.com/simstudioai/sim/pull/4559/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/fil | https://github.com/simstudioai/sim/tree/fix/fil |
|
Conversation
17
| https://github.com/simstudioai/sim/pull/4559 |
|
Commits
9
| https://github.com/simstudioai/sim/pull/4559/commits |
|
Checks
12
| https://github.com/simstudioai/sim/pull/4559/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/4559/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4559/files |
|
fix(file-viewer): prevent scroll jump to top during Mothership streaming
| https://github.com/simstudioai/sim/pull/4559/files#top |
|
Show all changes
9 commits
| https://github.com/simstudioai/sim/pull/4559/files |
|
db84d87
fix(file-viewer): prevent scroll jump to top during Mothership streaming
waleedlatif1 May 11, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/db84d87e88e70643df98c8d5c523c6952a190f2b |
|
f021927
fix(file-viewer): preserve session linger in hydrate/upsert and clear…
waleedlatif1 May 11, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/f021927396e050a7f1abc3bee5dda070f9192556 |
|
77f6364
chore(file-viewer): trim verbose comments to match codebase style
waleedlatif1 May 11, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/77f63649a17722efee34f42bc95b82848998464e |
|
3f6c813
fix(file-viewer): re-engage auto-scroll when user scrolls back to bottom
waleedlatif1 May 11, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/3f6c8131ff3bd59be52622b32dfd0be9cbcfc0f3 |
|
62ecc74
chore(file-viewer): update scroll-anchor tsdoc, remove test separator…
waleedlatif1 May 11, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/62ecc7469659ba0fdb8a2579a8958ab469ceeda4 |
|
3b99234
fix(file-viewer): prevent false re-engage when spacer restoration tri…
waleedlatif1 May 12, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/3b9923469d5eb00fc3fad24bd6e003ed03919580 |
|
3683e68
refactor(file-viewer): extract shouldReengage as pure tested function
waleedlatif1 May 12, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/3683e683e1698bfe4f017b875a1e0d6d59e6304e |
|
791f76a
chore(file-viewer): trim verbose inline comments in use-scroll-anchor
waleedlatif1 May 12, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/791f76a4f3930102d5cb086123ceb12a996990a7 |
|
6b350d0
chore(file-viewer): final comment cleanup before merge
waleedlatif1 May 12, 2026
| https://github.com/simstudioai/sim/pull/4559/commits/6b350d063379b2ea8502a0061fa76a890faf8d30 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/4559/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4559/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4559/files |
|
preview-panel.tsx
| https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
|
text-editor-state.test.ts
| https://github.com/simstudioai/sim/pull/4559/files#diff-b6afd6489d673e2fcdf072e7a48ea96413f3e791a60aadc0decfa66cbcd7a2b3 |
|
mothership-view.tsx
| https://github.com/simstudioai/sim/pull/4559/files#diff-db5280c2b2a6342e88c19859fa4e796b2cb8744c361e0249e1907e75e21b8ab0 |
|
use-chat.ts
| https://github.com/simstudioai/sim/pull/4559/files#diff-1a0584ccf9cc4bacd55ce19aeeea8d807c39f36c365fa5b6638587aad38c700d |
|
use-file-preview-sessions.test.tsx
| https://github.com/simstudioai/sim/pull/4559/files#diff-154d4708f2872cc27833b84cc01a8c02aa5fa38873fc4663055c287dd18a4d2f |
|
use-file-preview-sessions.ts
| https://github.com/simstudioai/sim/pull/4559/files#diff-7f7bad1490ee0f6b155331e6aa2fcb2486bf21300acbb93149a91451d98671ee |
|
use-auto-scroll.ts
| https://github.com/simstudioai/sim/pull/4559/files#diff-1824d8c31587f935221be1a0db36a235b67247348747a168cc63fee348c13c34 |
|
use-scroll-anchor.test.ts
| https://github.com/simstudioai/sim/pull/4559/files#diff-968971928217021ab4bad817a01e813bb2942ae35866b35e6715e1b5bca7416c |
|
use-scroll-anchor.ts
| https://github.com/simstudioai/sim/pull/4559/files#diff-b5245fa4206f7fe3b3ed1e35558e444441029157c487f978b774630ff710f854 |
| apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/preview-panel.tsx | https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
|
View file
| https://github.com/simstudioai/sim/blob/6b350d063379b2ea8502a0061fa76a890faf8d30/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/preview-panel.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4559/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-262acbff6b1806a04a00b077110f4a5ef817431fe8b5014d3553b7df8b202dd2 |
| apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/text-editor-state.test.ts | https://github.com/simstudioai/sim/pull/4559/files#diff-b6afd6489d673e2fcdf072e7a48ea96413f3e791a60aadc0decfa66cbcd7a2b3 |
|
View file
| https://github.com/simstudioai/sim/blob/6b350d063379b2ea8502a0061fa76a890faf8d30/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/text-editor-state.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4559/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-b6afd6489d673e2fcdf072e7a48ea96413f3e791a60aadc0decfa66cbcd7a2b3 |
| apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/mothership-view.tsx | https://github.com/simstudioai/sim/pull/4559/files#diff-db5280c2b2a6342e88c19859fa4e796b2cb8744c361e0249e1907e75e21b8ab0 |
|
View file
| https://github.com/simstudioai/sim/blob/6b350d063379b2ea8502a0061fa76a890faf8d30/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/mothership-view/mothership-view.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4559/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-db5280c2b2a6342e88c19859fa4e796b2cb8744c361e0249e1907e75e21b8ab0 |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-db5280c2b2a6342e88c19859fa4e796b2cb8744c361e0249e1907e75e21b8ab0 |
| apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts | https://github.com/simstudioai/sim/pull/4559/files#diff-1a0584ccf9cc4bacd55ce19aeeea8d807c39f36c365fa5b6638587aad38c700d |
|
View file
| https://github.com/simstudioai/sim/blob/6b350d063379b2ea8502a0061fa76a890faf8d30/apps/sim/app/workspace/%5BworkspaceId%5D/home/hooks/use-chat.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/4559/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-1a0584ccf9cc4bacd55ce19aeeea8d807c39f36c365fa5b6638587aad38c700d |
|
| https://github.com/simstudioai/sim/pull/4559/files#diff-1a0584ccf9cc4bacd55ce19aeeea8d807c39f36c365fa5b6638587aad38c700d |
| Please reload this page | https://github.com/simstudioai/sim/pull/4559/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/4559/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |