fix(scroller): Removed passive option from scroll event listener
This commit is contained in:
		| @@ -1,5 +1,10 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2025-01-31 - 2.3.1 - fix(scroller) | ||||
| Removed passive option from scroll event listener | ||||
|  | ||||
| - The 'passive: true' option was removed from the native scroll event listener attachment. | ||||
|  | ||||
| ## 2025-01-31 - 2.3.0 - feat(scroller) | ||||
| Enhance Scroller class with callback execution and adaptive scroll listener | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@design.estate/dees-domtools', | ||||
|   version: '2.3.0', | ||||
|   version: '2.3.1', | ||||
|   description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.' | ||||
| } | ||||
|   | ||||
| @@ -143,7 +143,7 @@ export class Scroller { | ||||
|    * Attaches the native scroll event listener. | ||||
|    */ | ||||
|   private attachNativeScrollListener(): void { | ||||
|     window.addEventListener('scroll', this.handleNativeScroll, { passive: true }); | ||||
|     window.addEventListener('scroll', this.handleNativeScroll); | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user