@@ -29,13 +29,21 @@ scrollable elements and their parent containers.
29
29
- ** Unit tests for more utility functions:** Included additional test
30
30
cases for various utility functions, improving overall test reliability.
31
31
32
+ - ** Unit test for custom event handlers:** Added comprehensive unit
33
+ tests for various event handlers, including DOM events, swipe gestures,
34
+ keyboard interactions, wheel scrolling, and observer-based mutations.
35
+
32
36
- ** Expanded tests for deep merge functionality:** Enhanced the test
33
37
suite for the ` deepMerge ` function to ensure its correctness.
34
38
35
39
- ** Add ESM support to Rollup configuration and ` package.json ` :** This
36
40
enhances support for modern JavaScript ecosystems and allows consumers
37
41
to use the library with ` import ` statements seamlessly.
38
42
43
+ - ** Added cleanup function on event listeners:** Implemented listener
44
+ cleanup to ensure proper removal of event listeners and observers when
45
+ stopListen is called, preventing memory leaks.
46
+
39
47
### Changed
40
48
- ** Improved swipe scroll compatibility on mobile for multiple
41
49
browsers:** Resolved an issue where swipe scrolling was functional only
@@ -67,6 +75,11 @@ functionality across different cases.
67
75
- ** Corrected deep merge logic:** Fixed issues in the ` deepMerge `
68
76
function, ensuring deep merging of objects is performed accurately.
69
77
78
+ - ** Corrected direction logic in scroll events:** Update scroll events to
79
+ reset the scroll direction after capturing the axis, ensuring accurate
80
+ scroll direction handling and preventing outdated axis data from
81
+ persisting when the direction is not modified.
82
+
70
83
<br >
71
84
72
85
## [ 0.1.0-alpha] - 2024-11-18
0 commit comments