Skip to content

Commit 671ae55

Browse files
author
pipeline
committed
v33.1.46 is released
1 parent 12d65f7 commit 671ae55

File tree

34 files changed

+202
-212
lines changed

34 files changed

+202
-212
lines changed

components/base/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 33.1.46 (2026-03-31)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#I813443` - Resolved event listener memory leak by binding handlers in constructor and properly removing them in `ngOnDestroy`.
12+
513
## 25.2.4 (2024-05-14)
614

715
### Common

components/base/releasenotes/README.md

Lines changed: 0 additions & 183 deletions
This file was deleted.

components/base/src/form-base.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types */
2-
import { EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core';
2+
import { EventEmitter, ElementRef, ChangeDetectorRef, OnDestroy } from '@angular/core';
33
import { getValue, setValue, isNullOrUndefined, isObject } from '@syncfusion/ej2-base';
44
import { ControlValueAccessor } from '@angular/forms';
55
/**
66
* Angular Form Base Module
77
*/
8-
export class FormBase<T> implements ControlValueAccessor {
8+
export class FormBase<T> implements ControlValueAccessor, OnDestroy {
99
public value: T;
1010
public checked: boolean;
1111
private skipFromEvent: boolean;
@@ -32,8 +32,13 @@ export class FormBase<T> implements ControlValueAccessor {
3232
public isUpdated: boolean;
3333
public oldValue: any;
3434
public cdr: ChangeDetectorRef;
35-
public ngOnBlurBound: () => void;
36-
public ngOnFocusBound: () => void;
35+
public ngOnBlurBound?: (e: Event) => void;
36+
public ngOnFocusBound?: (e: Event) => void;
37+
public destroy?: Function;
38+
constructor() {
39+
this.ngOnBlurBound = this.ngOnBlur.bind(this);
40+
this.ngOnFocusBound = this.ngOnFocus.bind(this);
41+
}
3742
public localChange(e: { value?: T, checked?: T }): void {
3843
const value: T | any = (e.checked === undefined ? e.value : e.checked);
3944
this.objCheck = isObject(value);
@@ -106,8 +111,8 @@ export class FormBase<T> implements ControlValueAccessor {
106111
tempFormAfterViewThis.appendTo(tempFormAfterViewThis.element);
107112
}
108113
const ele: HTMLElement = tempFormAfterViewThis.inputElement || tempFormAfterViewThis.element;
109-
ele.addEventListener('focus', tempFormAfterViewThis.ngOnFocusBound);
110-
ele.addEventListener('blur', tempFormAfterViewThis.ngOnBlurBound);
114+
ele.addEventListener('focus', this.ngOnFocusBound);
115+
ele.addEventListener('blur', this.ngOnBlurBound);
111116
}
112117
this.isFormInit = false;
113118
}
@@ -168,4 +173,11 @@ export class FormBase<T> implements ControlValueAccessor {
168173
}
169174
this.cdr.markForCheck();
170175
}
176+
// Add ngOnDestroy to clean up event listeners
177+
public ngOnDestroy(): void {
178+
// This ensures ComponentBase cleanup
179+
if (this.destroy && typeof this.destroy === 'function') {
180+
this.destroy.call(this);
181+
}
182+
}
171183
}

components/buttons/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
66

77
### Chip
88

components/calendars/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
66

77
### DateRangePicker
88

components/diagrams/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 33.1.46 (2026-03-31)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I819231` - Scrolling will now perform without any flickering or jump when multiple page set to false with page settings defined.
12+
513
## 33.1.45 (2026-03-24)
614

715
### Diagram

components/diagrams/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-diagrams",
3-
"version": "33.1.44",
3+
"version": "33.1.45",
44
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts. for Angular",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/documenteditor/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
## [Unreleased]
44

5+
## 33.1.46 (2026-03-31)
6+
7+
### DocumentEditor
8+
9+
#### Bug Fixes
10+
11+
`#I819206` - Fixed an issue where drag-and-drop incorrectly allowed content to be moved into non-editable regions.
12+
13+
## 33.1.45 (2026-03-24)
14+
15+
### DocumentEditor
16+
17+
#### Bug Fixes
18+
19+
`#I810756` - Script error after reloading page with collaborative edits.
20+
521
## 32.2.5 (2026-02-17)
622

723
### DocumentEditor

components/documenteditor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-documenteditor",
3-
"version": "33.1.44",
3+
"version": "33.1.45",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for Angular",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/dropdowns/CHANGELOG.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,29 @@
22

33
## [Unreleased]
44

5-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
6+
7+
### DropDownTree
8+
9+
#### Bug Fixes
10+
11+
- `#I816579` - Resolved a console error that occurred when filtering in the DropDown Tree component with node IDs containing the hash `#` symbol.
612

713
### ComboBox
814

915
#### Bug Fixes
1016

11-
- `#I811858` - Fixed an issue where the span element was removed during dynamic placeholder updates, affecting the label structure.
17+
- `#I815337` - Fixed an issue where Accessibility violations when using ComboBox component.
18+
19+
### MultiSelect
20+
21+
#### Bug Fixes
22+
23+
- `#I810920` - Fixed an issue related to accessibility gaps in Multiselect Component.
24+
25+
- `#I815337` - Fixed an issue where Accessibility violations when using Multiselect component.
26+
27+
- `#I812150` - Fixed an issue where, when dynamically selecting all records, the popup UI displayed a skeleton loader instead of the actual list items.
1228

1329
## 28.2.9 (2025-03-04)
1430

@@ -2432,7 +2448,15 @@ DropDownList component contains a list of predefined values from which a single
24322448

24332449
- **Templates** - Allows customizing the list items, selected value, header, footer, category group header, and no records content.
24342450

2435-
- **Accessibility** - Provided with built-in accessibility support which helps to access all the DropDownList component features through the keyboard, screen readers, or other assistive technology devices.## 29.1.33 (2025-03-25)
2451+
- **Accessibility** - Provided with built-in accessibility support which helps to access all the DropDownList component features through the keyboard, screen readers, or other assistive technology devices.## 33.1.44 (2026-03-16)
2452+
2453+
### ComboBox
2454+
2455+
#### Bug Fixes
2456+
2457+
- `#I811858` - Fixed an issue where the span element was removed during dynamic placeholder updates, affecting the label structure.
2458+
2459+
## 29.1.33 (2025-03-25)
24362460

24372461
### Mention
24382462

0 commit comments

Comments
 (0)