epam / ketcher

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

System opens wrong context menu for monomers on micro canvas if clicked on atom or bond #5809

Closed AlexeyGirin closed 3 weeks ago

AlexeyGirin commented 1 month ago

Steps to Reproduce

  1. Go to Molecules
  2. Load from file any monomer using Open as New Project: 5. Unsplit nucleotide 5hMedC (from library).zip image
  3. Right click on appeared monomer and click on Expand monomer at context menu image
  4. Right click on any bond or atom

Actual behavior System opens S-Group context menu image

Expected behavior System opens Collapse monomer context menu image

Versions

Issue found while testing: https://github.com/epam/ketcher/issues/5400