-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot select bonds when we add molecule with addFragment
, setMolecule
or "Paste from clipboard"
#4154
Comments
A hacky way I did to get around this was to do the following for anyone needing a quick fix to this: ketcher.addFragment(updateLigandData.smiles);
setTimeout(() => {
ketcher.editor.selection("all");
ketcher.editor.selection(null);
}, 1000); |
Hi @luna215 ! Thank you for raising the issue. We reproduced it and planned to fix. |
@rrodionov91 happy to help wherever I can with this. |
adddFragment
addFragment
addFragment
addFragment
, setMolecule
addFragment
, setMolecule
addFragment
, setMolecule
or "Paste from clipboard"
…tMolecule or Paste from clipboard
…tMolecule or Paste from clipboard
…tMolecule or Paste from clipboard
…tMolecule or Paste from clipboard
…tMolecule or Paste from clipboard
…tMolecule or Paste from clipboard
…tMolecule or Paste from clipboard
…dd-molecule-with-addFragment_3 #4154 - Cannot select bonds when we add molecule with addFragment, setMolecule or Paste from clipboard
…ragment, setMolecule or Paste from clipboard
…ragment, setMolecule or Paste from clipboard
…ragment, setMolecule or Paste from clipboard
…ragment, setMolecule or Paste from clipboard
…ragment, setMolecule or Paste from clipboard
…ragment, setMolecule or Paste from clipboard
…dd-molecule-with-addFragment Backmerge: #4154 - Cannot select bonds when we add molecule with addFragment, setMolecule or Paste from clipboard
Greatly appreciate this quick fix! Ya'll 🪨 ! |
@luna215 You're welcome! Glad the Ketcher team could help! If you have any more questions or need further assistance, feel free to ask. 🚀 |
Steps to Reproduce
First type of scenario:
Second type of scenario:
Third type of scenario:
Actual behavior
When we hover over a bond we cannot select it nor is the bond highlighted. When we click on the bond, it also does not select the bond
Expected behavior
When we hover over a bond, we should see a highlight of the bond and we should be able to select it:
Highlight when we hover over a bond:
Selected bond
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Ketcher version [e.g. v2.4.2].
v2.19.0
The text was updated successfully, but these errors were encountered: