Skip to content
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

Hovering over some functional groups crops the expanded view of it #1911

Closed
KonstantinEpam23 opened this issue Dec 13, 2022 · 0 comments · Fixed by #1923
Closed

Hovering over some functional groups crops the expanded view of it #1911

KonstantinEpam23 opened this issue Dec 13, 2022 · 0 comments · Fixed by #1923
Assignees
Labels
Milestone

Comments

@KonstantinEpam23
Copy link
Collaborator

KonstantinEpam23 commented Dec 13, 2022

Steps to Reproduce

  1. Add a functional group "C2H5" from template list
  2. Place it on the canvas
  3. Hover over it with your mouse

Actual behavior
The sides of the rendered molecule are outside of the image that shows up on hover and the over rectangle is mispositioned.

Expected behavior
The molecule should be displayed correctly inside the hover viewport (not cropped on the sides) and the hover rectangle should be positioned directly below the contracted molecule on canvas (or above it if the molecule is near the bottom of editor viewport)

Screenshots
Screenshot 2022-12-13 at 08 18 20

Ketcher version [e.g. v2.4.2].
2.7.0-rc1

Additional context
As part of resolving this issue, we also need to address comments from this PR: #1907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants