epam / ketcher

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

Non-user friendly way of exiting RNA builder #4858

Open ljubica-milovic opened 3 months ago

ljubica-milovic commented 3 months ago

Steps to Reproduce

  1. Go to macromolecules sequence mode.
  2. Enter any RNA sequence.
  3. Select a nucleotide.
  4. Select modify in RNA builder.
  5. Click away or escape.

Actual behavior

Clicking away doesn't allow the user to exit the RNA builder mode. The behavior is the same for pressing esc, but esc unselects the monomer(s). The only way to exit the mode is to click cancel in the RNA builder. https://github.com/epam/ketcher/assets/169887211/0634307d-5539-45c4-a98c-7232c633eaa5

Expected behavior

While in the RNA builder mode the user should be able to exit it by clicking away or pressing escape. All the changes made in the RNA builder should be discarded.

Ketcher version v2.22.0