We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps for Reproduction
Expected behavior:
No Memory leak
Actual behavior:
Memory leak due to eventListeners not removed
container.addEventListener("click", function(e) { var target = e.target; if (e.target && ["img", "video"].includes(target.tagName.toLowerCase())) { resizeTarge = target; resizePlugin = new ResizePlugin(target, container.parentElement, container, __assign(__assign({}, options), { onChange: triggerTextChange })); } }); ... document.addEventListener("mousedown", function(e) { var _a, _b, _c; var target = e.target; if (target !== resizeTarge && !((_b = (_a = resizePlugin === null || resizePlugin === void 0 ? void 0 : resizePlugin.resizer) === null || _a === void 0 ? void 0 : _a.contains) === null || _b === void 0 ? void 0 : _b.call(_a, target))) { (_c = resizePlugin === null || resizePlugin === void 0 ? void 0 : resizePlugin.destory) === null || _c === void 0 ? void 0 : _c.call(resizePlugin); resizePlugin = null; resizeTarge = null; } }, { capture: true }); }
eventListeners is not properly removed using removeEventListener method when destroying
removeEventListener
Platforms:
Chrome v131.0.6778.205 (Build officiel) (64 bits)
Version:
"quill": "2.0.3" "quill-resize-image": "1.0.5"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps for Reproduction
Expected behavior:
No Memory leak
Actual behavior:
Memory leak due to eventListeners not removed
eventListeners is not properly removed using
removeEventListener
method when destroyingPlatforms:
Chrome v131.0.6778.205 (Build officiel) (64 bits)
Version:
"quill": "2.0.3"
"quill-resize-image": "1.0.5"
The text was updated successfully, but these errors were encountered: