Skip to content
New issue

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

Macro: 'Uncaught DOMException' error in DevTool console after switch from Macro to Micro mode #3702

Closed
Zhirnoff opened this issue Dec 15, 2023 · 1 comment · Fixed by #3772

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Dec 15, 2023

Steps to Reproduce

  1. Open Ketcher
  2. Switch to Macro mode and then to Micro

Actual behavior
'Uncaught DOMException' error in DevTool console after switch from Macro to Micro mode

Expected behavior
No errors in DevTool console

Screenshots

2023-12-15_11h47_37

Desktop (please complete the following information):**

  • OS: Windows 10
  • Browser Chrome
  • Version 112.0.5615.138 (Official Build) (64-bit)

Ketcher version
Version 2.17.0-rc.2

@Zhirnoff Zhirnoff added this to the Macromolecules Milestone 4 milestone Dec 15, 2023
rrodionov91 added a commit that referenced this issue Dec 22, 2023
… switch from Macro to Micro mode (#3772)

* 3702 - Macro: 'Uncaught DOMException' error in DevTool console after switch from Macro to Micro mode

- exit from resize handler in case if canvas has width 0

---------

Co-authored-by: Roman Rodionov <roman_rodionov@epam.com>
@Zhirnoff
Copy link
Collaborator Author

Tested. No comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment