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

Cut sites are displayed in the wrong place when shown in specific enzyme information #80

Open
eric-bra opened this issue Jun 27, 2024 · 4 comments

Comments

@eric-bra
Copy link

@tnrich
When opening the information about an enzyme, the lines symbolizing the cut site are shifted to the right.
In the Cut site graphic in properties/cut sites, when a specific enzyme is selected, there is also a shift.
The bug was found in the demo and not verified building the project myself.

Correct line in Sequence Map:
Bildschirmfoto 2024-06-27 um 14 11 06

Enzyme Information (Pop-up):
View in enzyme overview

Enzyme Information (Properties):
Bildschirmfoto 2024-06-27 um 14 10 56

@tnrich
Copy link
Collaborator

tnrich commented Jun 27, 2024

@eric-bra yikes thanks for making an issue! I'll look into this.

@tnrich
Copy link
Collaborator

tnrich commented Jun 27, 2024

@eric-bra I don't think I can reproduce this.. This is what I see on the demo page here - https://teselagen.github.io/tg-oss/ove/#/Editor

image

Can you provide additional reproduction assistance?

@eric-bra
Copy link
Author

I found the original bug in Safari Version 17.5 (19618.2.12.11.6) on an up-to-date intel-based Mac, I was able to recreate it on an up-to-date iPad in both safari and Firefox, but not on my mac in firefox.

@tnrich
Copy link
Collaborator

tnrich commented Aug 5, 2024

@eric-bra thanks for the additional info. I can see this on Safari on mac as well. It appears to be an issue with safari's handling of the textLength attribute. I think I can add a safari specific fix that changes how the text is handled and fix this issue.

Cheers!

tnrich added a commit that referenced this issue Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants