Skip to content

Fix issue 359 (zoom overlay drawn beneath shapes) #448

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

Merged
merged 11 commits into from
Apr 27, 2016
8 changes: 7 additions & 1 deletion test/jasmine/tests/click_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ describe('Test click interactions:', function() {

describe('drag interactions', function() {
beforeEach(function(done) {
Plotly.plot(gd, mockCopy.data, mockCopy.layout).then(done);
Plotly.plot(gd, mockCopy.data, mockCopy.layout).then(function() {
// Do not let the notifier hide the drag elements
var tooltip = document.querySelector('.notifier-note');
if(tooltip) tooltip.style.display = 'None';

done();
Copy link
Contributor

Choose a reason for hiding this comment

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

Beautiful. Thanks for figuring this out 🍻

});
});

it('on nw dragbox should update the axis ranges', function(done) {
Expand Down