Not the first reaction on Canvas is saved to RXN when there are several reactions with single and Multi-Tailed Arrows
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Steps to Reproduce**
1. Load reaction from KET:
[ket-cascade-single-reactions-without-matching.zip](https://github.com/user-attachments/files/17522891/ket-cascade-single-reactions-without-matching.zip)

**Actual Result**
- 1:1 root reaction of cascade is on "Save to RXN" preview:

**Expected Result**
- The first reaction on the canvas 2:1 is displayed on "Save to RXN" preview as it's the first on Canvas
**Environment details**
Reproduced on RC SA env:
- Ketcher [Version 2.26.0-rc.6] Build at 2024-10-25; 09:57:12;
- Indigo Version 1.25.0-rc.4.0-g8862ccb7e-wasm32-wasm-clang-19.0.0
- Desktop, Windows 11 Enterprise
- Chrome, Version 130.0.6723.70 (Official Build) (64-bit)
**Notes**
- Another example of file to reproduce the issue:
[ket-single-reactions-2-mta-arrow-pluses-bottom-top.zip](https://github.com/user-attachments/files/17586111/ket-single-reactions-2-mta-arrow-pluses-bottom-top.zip)
The reaction with Multi-Tailed arrow were added firstly, after that reaction with pluses - not the first reaction is on save:

- Pay attention to case when the second added reaction is the first on Canvas - TBD
- Issue is detected during exploratory testing of Update Save to RXN for cascade reactions feature - https://github.com/epam/Indigo/issues/2234
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.