Skip to content

Add a z-index to js-plotly-tester as a workaround for a chrome bug #1

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

Closed
wants to merge 1 commit into from

Conversation

benjeffery
Copy link
Owner

Proposed solution for plotly#513.

@@ -462,7 +462,8 @@ drawing.makeTester = function(gd) {
left: '-10000px',
top: '-10000px',
width: '9000px',
height: '9000px'
height: '9000px',
'z-index': '1'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really? That was it? Nice fix.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no understanding of why it works. But thankfully it does.

@etpinard
Copy link

@benjeffery great.

I'm trying to decide whether we should add a test for this very specific case. I'm leaning toward to no side. In any case, PR away!

@benjeffery
Copy link
Owner Author

PR done upstream - closing.

@benjeffery benjeffery closed this Jul 18, 2016
@benjeffery benjeffery deleted the zindex branch July 18, 2016 14:19
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

Successfully merging this pull request may close these issues.

2 participants