uploadcare / react-file-uploader

MIT License
8 stars 0 forks source link

"ResizeObserver loop completed with undelivered notifications" occurs when a user clicks on edit image. #45

Open mainak-getCone opened 2 months ago

mainak-getCone commented 2 months ago

Describe the bug

After the image upload and cloud editor is enabled, if the user clicks on the edit icon, an error related to the resize observer appears on the screen.

Expected behavior

Code / screenshots

import { FileUploaderRegular } from "@uploadcare/react-uploader";
import "@uploadcare/react-uploader/core.css";

function App() {
  return (
    <div>
      <FileUploaderRegular
        pubkey="PUB_KEY"
        maxLocalFileSizeBytes={10000000}
        multiple={false}
        imgOnly={true}
        sourceList="local"
        classNameUploader="my-config uc-light"
      />
    </div>
  );
}

export default App;
Screenshot 2024-08-24 at 1 21 53 PM Screenshot 2024-08-24 at 1 22 22 PM

Environment