Skip to content

Commit 2709529

Browse files
committed
chore: update change log
1 parent 4152d56 commit 2709529

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,21 @@ scrollable elements and their parent containers.
2929
- **Unit tests for more utility functions:** Included additional test
3030
cases for various utility functions, improving overall test reliability.
3131

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+
3236
- **Expanded tests for deep merge functionality:** Enhanced the test
3337
suite for the `deepMerge` function to ensure its correctness.
3438

3539
- **Add ESM support to Rollup configuration and `package.json`:** This
3640
enhances support for modern JavaScript ecosystems and allows consumers
3741
to use the library with `import` statements seamlessly.
3842

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+
3947
### Changed
4048
- **Improved swipe scroll compatibility on mobile for multiple
4149
browsers:** Resolved an issue where swipe scrolling was functional only
@@ -67,6 +75,11 @@ functionality across different cases.
6775
- **Corrected deep merge logic:** Fixed issues in the `deepMerge`
6876
function, ensuring deep merging of objects is performed accurately.
6977

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+
7083
<br>
7184

7285
## [0.1.0-alpha] - 2024-11-18

0 commit comments

Comments
 (0)