Steps to Reproduce
- Go to an environment with several Ketcher instances on the same page (e.g. https://rc.test.lifescience.opensource.epam.com/KetcherDemoSA/duo.html)
- Switch to macromolecule mode.
- Interact with one of the Ketcher instances
Actual behavior
Instances conflict with each other, leading to incorrect interface behavior.
Expected behavior
Each Ketcher instance works in isolation, without affecting others.
Ketcher version [e.g. v2.4.2].
v3.3.0-rc.3
Additional context
In Macromolecules mode, using multiple Ketcher instances on the same page leads to incorrect behavior: the drawn structure may appear in a different Ketcher canvas than the one currently being used.
This issue is a continuation of #6506, which describes the root cause: global window.ketcher reference shared across instances.
Steps to Reproduce
Actual behavior
Instances conflict with each other, leading to incorrect interface behavior.
Expected behavior
Each Ketcher instance works in isolation, without affecting others.
Ketcher version [e.g. v2.4.2].
v3.3.0-rc.3
Additional context
In Macromolecules mode, using multiple Ketcher instances on the same page leads to incorrect behavior: the drawn structure may appear in a different Ketcher canvas than the one currently being used.
This issue is a continuation of #6506, which describes the root cause: global window.ketcher reference shared across instances.