Skip to content

Non-user friendly way of exiting RNA builder #4858

Description

@ljubica-milovic

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions