mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-26 21:52:01 +08:00
* refactor(Scrollbar): Optimize scroll handling logic to support external scroll events - Refactor `onScroll` logic to support external scroll events - Integrate with `useScrollPosition` hook for better scroll state management - Memorize the scoll state for better user experience - Fix type definition for `ref` attribute - Remove unnecessary `ref` type overrides - Improve component compatibility and maintainability * perf(useScrollPosition): Optimize scroll position updates using requestAnimationFrame - Wrap the `window.keyv.set` call in `requestAnimationFrame` to reduce unnecessary performance overhead and improve responsiveness during scrolling. * fix(Messages): Remove unused FC imports and add onComponentUpdate and onFirstUpdate properties |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||