You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v4.x
v5.x
v6.x
v7.x
Nightly
Current Behavior
When an element is removed from the DOM, the native input element is not freed because the compositionend event listener has not been removed. This is due to a typo in the code.
Expected Behavior
The proper event listener should be removed.
Steps to Reproduce
Add an element to the document
Remove the element
Take a heap snapshot and inspect the heap. You will find a "Detached HTMLInputElement". Inspecting it's retainers you'll see an event listener.
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.20.6
Utility:
cordova-res : not installed globally
native-run : 1.7.1
System:
NodeJS : v16.14.2
npm : 8.7.0
OS : macOS
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
Current Behavior
When an element is removed from the DOM, the native input element is not freed because the
compositionend
event listener has not been removed. This is due to a typo in the code.Expected Behavior
The proper event listener should be removed.
Steps to Reproduce
Add an element to the document
Remove the element
Take a heap snapshot and inspect the heap. You will find a "Detached HTMLInputElement". Inspecting it's retainers you'll see an event listener.
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.20.6
Utility:
cordova-res : not installed globally
native-run : 1.7.1
System:
NodeJS : v16.14.2
npm : 8.7.0
OS : macOS
Additional Information
No response
The text was updated successfully, but these errors were encountered: