Error occurs when no element is selected, click above to delete icon
The error info is :
Cannot read properties of null (reading 'type')
TypeError: Cannot read properties of null (reading 'type')
at Graphics.getActiveObjectIdForRemove (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:13246:150)
at ImageEditor.removeActiveObject (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:13757:106)
at Object._delete (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:11619:2289)
at HTMLLIElement._this5.eventHandler. (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:11493:221)
Error occurs when no element is selected, click above to delete icon
The error info is :
Cannot read properties of null (reading 'type') TypeError: Cannot read properties of null (reading 'type') at Graphics.getActiveObjectIdForRemove (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:13246:150) at ImageEditor.removeActiveObject (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:13757:106) at Object._delete (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:11619:2289) at HTMLLIElement._this5.eventHandler. (webpack-internal:///./node_modules/tui-image-editor/dist/tui-image-editor.js:11493:221)
this is my code :
`
`