File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed
Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 22
33This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
44
5+ ## [ 5.0.3] - 2025-12-16
6+
7+ ### Fixed
8+ - 🖱️ ** Scrollbar Interactivity** : Fixed critical issue where dragging the scrollbar thumb or clicking on the track did not scroll content (#1 )
9+ - 📜 ** Vertical/Horizontal Scroll** : Both vertical and horizontal scrollbars now properly respond to user interaction
10+
11+ ### Added
12+ - 🧪 ** Comprehensive Tests** : Added 10 new tests for scrollbar interaction functionality:
13+ - Track click handling (vertical/horizontal)
14+ - Thumb drag functionality (vertical/horizontal)
15+ - Drag state management (userSelect, cleanup)
16+ - Event listener attachment/removal
17+ - Auto-hide track mouse enter/leave
18+ - Cleanup on unmount during active drag
19+
20+ ### Changed
21+ - ⚡ ** Event Handling** : Implemented proper event listener attachment using wrapper functions for better TypeScript compatibility
22+ - 🔧 ** Examples** : Migrated ` examples/simple ` from Webpack to Vite for easier development
23+
524## [ 5.0.2] - 2025-11-11
625
726### Fixed
Original file line number Diff line number Diff line change 11{
22 "name" : " @dev-ahmed-mahmoud/react-custom-scrollbars" ,
3- "version" : " 5.0.2 " ,
3+ "version" : " 5.0.3 " ,
44 "description" : " Modern React scrollbars component with TypeScript support and React 19 compatibility" ,
55 "type" : " module" ,
66 "main" : " ./dist/index.cjs" ,
5959 "contributors" : [
6060 {
6161 "name" : " Malte Wessel" ,
62- "email" : " malte.wessel@gmail.com" ,
62+ "email" : " malte.wessel@gmail.com" ,
6363 "url" : " https://github.com/malte-wessel"
6464 }
6565 ],
9797 "react" : " ^18.0.0 || ^19.0.0" ,
9898 "react-dom" : " ^18.0.0 || ^19.0.0"
9999 }
100- }
100+ }
You can’t perform that action at this time.
0 commit comments