mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
- Extract magic numbers into named constants (VIEWPORT_BUFFER_AT_BOTTOM, VIEWPORT_BUFFER_SCROLLED_UP, VIEWPORT_BUFFER_TOP) - Add detailed comments explaining how followOutput='smooth' relates to the scroll lock fix - Implement debouncing (300ms) for isAtBottom state to prevent rapid viewport buffer changes - Add hysteresis to avoid performance issues during rapid scrolling This maintains the balance between memory efficiency and proper scroll lock behavior while addressing all reviewer concerns. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| components | ||
| context | ||
| hooks | ||
| i18n | ||
| lib | ||
| oauth | ||
| utils | ||
| vite-plugins | ||
| App.tsx | ||
| index.css | ||
| index.tsx | ||
| preflight.css | ||
| types.d.ts | ||
| vite-env.d.ts | ||