fengyuanchen/cropperjs

Memory not released in Safari when editing multiple images

开放

#963 创建于 2022年7月20日

 (0 条评论) (1 个反应) (0 位负责人)TypeScript (2,431 个派生)batch import
help wantedquestionv1

仓库指标

星标
 (13,864 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

When multiple images are uploaded, page memory is adding up and never released. Especially when using mobile devices, this results in the WebView to eventually reload (this is especially problematic when Cropper.js is implemented in a page with other information, as that information would then be lost).

To Reproduce: While monitoring memory usage in Safari's Web Inspector 1 - Upload image 2 - Upload another image ..n - Upload another image

Screenshots cropperJS 2 cropperJS

Tested on:

贡献者指南