-
Notifications
You must be signed in to change notification settings - Fork 44
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
Blurry text in Safari #7
Comments
+1 yup seeing this after I made some really cool html labels with dropdowns an every thing.. @maxkfranz any ideas what this could be? in screen shot red is cytoscape node in red (which is crisp) yet the custom html is all blurry... |
@kaluginserg Any ideas what this issue is? I love your plugin and may be able to help just don't know where to start? |
Similarly love this plugin and would love to help in any way I can! |
Ditto. Will you accept a PR on this, @kaluginserg? |
Has anyone found a solution to this issue, yet? |
I did some investigation and the issue appears to be related to the way Safari (mis)handles z-index. Once you remove the z-index style attribute, Safari stops blurring the labels. For a reproducible example:
Unfortunately, removing z-index puts all labels beneath the other elements in the cytoscape container which is undesirable. That problem becomes very visible when drawing a graph with thick edges or when trying to overlay labels on top of nodes. My experiments to work-around it using translate3d haven’t been working. I might return to this, but I’m hoping someone else finds these notes useful. |
Safari Version 11.0.3 (12604.5.6.1.1)
Mac Version 10.12.6 (16G1212)
It also affects the iPhone with Safari: iOS 11.2.5 (15D60)
When zoomed in, the text can become blurry in Safari. See this example:
The text was updated successfully, but these errors were encountered: