epam / ketcher

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

Connection is displayed at the bottom of the row, if drag a horizontal side-chain connection between the extreme nucleotides of a row #4975

Open ViktoriaTkacheva opened 5 days ago

ViktoriaTkacheva commented 5 days ago

Steps to Reproduce

  1. Switch to the Macro mode – the Snake mode
  2. Open this file long nucleotides 4R.zip
  3. Drag a horizontal side-chain connection between the extreme nucleotides of a row

Actual behavior A horizontal side-chain connection is displayed at the bottom of the row

image

Expected behavior A horizontal side-chain connection is displayed above the row

image

Screenshots

https://github.com/epam/ketcher/assets/139227567/5263d51d-0378-4c6a-ab6b-ba0fe0eadc5f

As per requirements:

  1. If two monomers linked by side-chain connection are positioned in the same row of monomers, the connection should be drawn horizontally above these monomers.

Desktop (please complete the following information):

Ketcher version 2.23.0-rc.1, Build at 2024-07-02; 09:03:38

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