Crop Upload Image doesn’t work in a popup.
We have a repeating group with a list of companies.
A user can click Edit on a particular company and then → Edit logo in a pop-up
It works for the first company, but for any other, the crop element is not displayed, and the browser returns the following error:
TypeError: Cannot read properties of undefined (reading ‘cropper’)
at eval (PLUGIN_1580797828554x982041607263486000/Crop-Upload-Image-update–CropUpload-.js:3:2626)
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:599:653
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:726:1496
at run_with_error (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:704:69)
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:726:1444
at Object.run_without_catching_not_ready2 (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:51:43481)
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:726:1409
at ElementInstance2._run_if_not_destroying (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:122:36962)
at Autorun2.fn (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:122:36439)
at Autorun2.run_me (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:115:50562)
at autorun2 (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:115:36694)
at ElementInstance2.autorun (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:122:36429)
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:726:1149
at ElementInstance2.wait_for_visible (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:122:23370)
at Object. (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:726:571)
at Object. (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:530:30051)
at Object.initialize (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:530:45090)
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:122:49421
at autorun_top2 (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:115:37347)
at ElementInstance2.initialize (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:122:49400)
at ElementInstance2.initialize_canvas (https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:122:46251)
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:415:64420
at https:///package/run_debug_js/9e6ceee663d20fb556267fe53a5d4b6407e2fb5522ca5c885b6c14e706ba3585/xfalse/x29/run_debug.js:415:29573