epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
474 stars 164 forks source link

Macro/Micro: Switching from Macro to Micro causes Uncaught DOMException and unpredicted exception #3730

Closed AlexeyGirin closed 9 months ago

AlexeyGirin commented 9 months ago

Steps to Reproduce

  1. Switch to Macromolecules view
  2. Load file: AnotherAttempt.zip (unzip first)
  3. Switch to Molecules view

Actual behavior Uncaught DOMException appears in console. Since that moment canvas starts work unpredictably localhost-1702974063069.log image For example: Look how area selection works (it works wrong!) image

Expected behavior No exception.

Desktop (please complete the following information):

Ketcher version [e.g. v2.4.2]. image Additional context Add any other context about the problem here.

AlexeyGirin commented 9 months ago

Duplicates #3702