Skip to content

v2.0.3 - Enhanced Scroll Sync Performance

Choose a tag to compare

@vultuk vultuk released this 21 Aug 13:38
· 43 commits to main since this release

Improved

  • Scroll Sync Performance: Enhanced scroll synchronization with requestAnimationFrame for smoother performance
  • State Management: Added better state management for scroll ratios to prevent UI glitches
  • Animation Optimization: Implemented proper animation frame handling to reduce scroll event processing overhead

Technical Improvements

  • RAF Implementation: Used requestAnimationFrame to throttle scroll synchronization updates
  • State Persistence: Added refs for tracking scroll ratios and animation frames
  • Performance: Reduced potential for rapid scroll updates causing UI lag
  • Memory Management: Proper cleanup of animation frame requests

Performance Enhancements

  • Smoother Scrolling: Better coordination between editor and preview scroll events
  • Reduced Overhead: Optimized scroll event handling with frame-based updates
  • UI Responsiveness: Improved overall UI responsiveness during scroll synchronization

🤖 Generated with Claude Code